我第一次嘗試通過 Java的罐子test2.jar 運行我的jar文件,並得到了以下錯誤 「未能從test2.jar加載主類將Manifest屬性」當我運行我的jar文件沒有任何反應
谷歌搜索堆棧溢出後,我想出了一個解決方案,說我需要一個起始類nsme的manefest文件。
我嘗試以下
罐子立方英尺app.jar man.txt 現在沒有任何反應,當我鍵入光標剛剛進入到下一行 男子文件看起來像 主類行:CSTART
我CSTART看起來像
public class cStart {
public static void main (String[] args) {
Scanner scanner = new Scanner(System.in);
cRiunTest test;
test=new cRiunTest();
test.run();
if (true)
return;
}
}
那'cRiunTest'是? – chrylis 2014-10-29 21:56:48