0
我在eclipse中将项目更改为JRE
(Sun转为JRockit)。但是当我尝试使用main方法运行一个类时,控制台中出现弹出错误消息"Could not find main class. Program will exit"
和"Exception in thread "Main Thread" java.lang.NoClassDefFoundError: Jrockit1/5"
。我可以看到项目得到重建(类文件的时间戳)。我还需要改变什么?所有这些用于JRE 1.5
Eclipse为项目更改了JRE
我检查过它,它使用JRockit JVM。 – Eqbal 2010-03-04 17:42:25