Trending News
Promoted
副檔名jar開啟問題
要看下載的解答
副檔名為.jar
已經下載並安裝JRE最新版
可是出現Error
"Failed to load Main-Class manifest attribute from
D:\java\codeKitchensTiger.jar"
請問要怎麼解決呀?
謝謝
Update:
To:我從山中來
請問是要改變環境變數的路徑嗎?
查了一下
用winrar 真的有MANIFEST.MF
這個檔
2 Answers
Rating
- 1 decade agoFavorite Answer
封裝Jar檔的人在編輯manifest這個文字檔的時候
忽略這個重點 :
manifest : [main class name]
<-務必要記得enter進入第二行
因為他找不到該程式Main-Class的所在
就會出現Main-Class載入失敗的訊息
- Anonymous1 decade ago
用winrar or 7z將它解開看
理面有沒有一個副檔名叫mf?
試試看到dos模式下 打java看看有無反應
若是沒反應
要到系統下給JRE的路徑
Still have questions? Get your answers by asking now.