Error occurred during initialization of VM [message #18225] |
Thu, 22 August 2002 03:54 |
Eclipse User |
|
|
|
Originally posted by: chinakapok.sina.com
Hello, I'm a newer to use the Eclipse platform.
After I create a new "Java" project and write a simple program.
When I run it, error occur as below,
_____________________________________________
"Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object"
_____________________________________________
Below is my program
_______________________________________________
public class SimpleProgram {
public static void main(String[] args) {
System.out.println("This is a simple program.");
}
}
_______________________________________________
I don't known why?
Thanks in advance.
tiger
|
|
|
Re: Error occurred during initialization of VM [message #18291 is a reply to message #18225] |
Fri, 23 August 2002 16:56 |
Eclipse User |
|
|
|
Originally posted by: ren.nospam.com
Dude,
I have got the same problem. Once you resolve it, could you let me too?
This is annoying..
Ren
tiger wrote:
> Hello, I'm a newer to use the Eclipse platform.
> After I create a new "Java" project and write a simple program.
> When I run it, error occur as below,
> _____________________________________________
> "Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object"
> _____________________________________________
> Below is my program
> _______________________________________________
> public class SimpleProgram {
> public static void main(String[] args) {
> System.out.println("This is a simple program.");
> }
> }
> _______________________________________________
> I don't known why?
> Thanks in advance.
> tiger
|
|
|
Re: Error occurred during initialization of VM [message #19544 is a reply to message #18225] |
Tue, 27 August 2002 22:40 |
Eclipse User |
|
|
|
Originally posted by: Chang.Zu.com
Go to launch configuration, check ur bootstrap classes tab under Classpath.
Add rt.jar (The JRE) by clicking on Add external jars.
See if this works coz it worked for me.
tiger wrote:
> Hello, I\'m a newer to use the Eclipse platform.
> After I create a new \"Java\" project and write a simple program.
> When I run it, error occur as below,
> _____________________________________________
> \"Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object\"
> _____________________________________________
> Below is my program
> _______________________________________________
> public class SimpleProgram {
> public static void main(String[] args) {
> System.out.println(\"This is a simple program.\");
> }
> }
> _______________________________________________
> I don\'t known why?
> Thanks in advance.
> tiger
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02965 seconds