用jbuilder的run using default可以正常运行,但是用java 执行出错,打包成jar也不能运行?
我的程序中用了一个第三方的jar文件.
用java执行结果:
Exception in thread "main" java.lang.NoClassDefFoundError: myRobot (wrong name:XXX)
用jbuilder打包成jar,双击显示"Could not find the main class.Program will exit."
用尽了csdn上的各帖子里的关于生成jar的方法,不管是用wizards还是命令行.都没有奏效.就是不能运行.