java -jar 依赖 manifest 里的 Main-Class 属性。 NetBeans 生成的 manifest 一般会写主类,但如果看到空白 Main-Class,说明 jar 不能直接双击运行,得用 java -cp dist/CalcDev.jar 包名.主类名指定入口。 具体类名从 README.TXT 或 nbproject 配置里翻。
Some results have been hidden because they may be inaccessible to you
Show inaccessible results