参考:http://blog.****.net/jiangtaoking/article/details/49151763 The solution is to go to Run as → External tools configuration… → JRE where the default was set to “Separate JDK”: jdk1.6.0_31 (I had set up JDKs 6-8 in Preferences after installing). I changed this to “run in the same JRE as the workspace” and now it works.
相关文章
- java无法找到加载主类是什么意思,在Java程序运行时遇到的“Could not find or load main class(无法找到或者加载主类)”是什么意思?...
- CentOS下运行Java文件Error: Could not find or load main class
- Linux下运行java报错:Error: Could not find or load main class SocketIOPropertites
- EAS 客户端 set-url.bat 以管理员身份运行:Could not find the main class:com.kingdee.eas.base.uiframe.client.conf.FrmClientConfig.Program will exit
- java调用本地方法的时候报错 could not find the main class:xx.program will exit
- Java执行main方法,异常为:could not find the main class.program will exit
- @(报错)could not find the main class, Program will exit(已解决)
- @(报错)could not find the main class, Program will exit(已解决)
- CentOS下运行Java文件Error: Could not find or load main class
- Linux下运行Java -jar 报错: Could not find or load main class