我正在学习java,你可能已经看到了。我坚持第一课我无法为此错误编译它。
1./*
2.Java Hello World example.
3.*/
4.
5.public class HelloWorldExample{
6.
7. public static void main(String args[]){
8.
9. /*
10. Use System.out.println() to print on console.
11. */
12. System.out.println("Hello World !");
13.
14. }
15.
16.}
17.
18./*
19.
20.OUTPUT of the above given Java Hello World Example would be :
21.
22.Hello World !
23.
24.*/
1 error found:
File: (no associated file) [line: (no source location)]
Error: Compile exception: java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/impl/IrritantSet
请帮助这个盲人傻瓜找到相关文件,谢谢
答案 0 :(得分:0)
您在Eclipse中错误配置了JRE。如果你在eclipse之外运行它或者修复你的Eclipse JRE设置它将会工作。