could not find main class program will exit!
2008-04-17 10:20
260 查看
出现这个错误是由于你的jdk版本与eclipse高版本配置造成的,解决如下: 点击 窗口->首选项 点击编译器,把“编译器一致性级别”从5.0改成1.4.windows---perference-->java--->complier-->版本修改成1.4的,其它问题应该不是很大。如果JDK其它版本的话,也许与这个JRE的版本有相关的关联性,出现这种问题时首先考虑这个问题
相关文章推荐
- runnable jar 不能在win7打开,显示错误:Could not find the main class. Program will exit.
- could not find the main class. Program will exit.
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- 解决java virtual machine launcher could not find the main class. program will exit
- Eclipse运行异常: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
- Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit
- (报错)could not find the main class, Program will exit(已解决)
- "Could not find the main class: org.apache.catalina.startup.Boostrap. Program will exit."
- Could not find the main class Program will exit
- java调用本地方法的时候报错 could not find the main class:xx.program will exit
- jar文件无法打开,could not find main class.program will exit.
- @(报错)could not find the main class, Program will exit(已解决)
- Could not find the main class. Program will exit...
- Eclipse 运行项目抛UnsupportedClassVersionError弹出yunCould not find the main class.program will exit
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- MyEclipse导入项目错误:Could not find the main class.Program will exit.
- Java中Could not find the main class.program will exit和java.lang.UnsupportedClassVersionError 的解决方法
- 解决运行java application时提示Could not find the main class.Program will exit.问题