1

正如您可能看到的那样,我正在学习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

请帮助这个盲人找到相关文件,谢谢

4

1 回答 1

0

您在 Eclipse 中错误地配置了您的 JRE。如果您在 eclipse 之外运行它或修复您的 Eclipse JRE 设置,它将起作用。

于 2013-08-21T20:13:41.327 回答