Sdk 1.4; Error Error occurred during initialization of VM
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, August 9, 2002 07:27 PM

I reciently installed Version 1.4 of the jdk (after uninstalling jdk 1.3.1) in Windows Me OS.


After I installed 1.4, none of the java tools worked. They all give the following error:


C:>javac


Error occurred during initialization of VM


java/lang/NoClassDefFoundError: java/lang/Object



I can run any java program or applet and my boweres also run java /wo problems.



What is wrong and how do I fix the problem?

Re: Sdk 1.4; Error Error occurred during initialization of VM

Posted By:   Roeland_Lengers  
Posted On:   Friday, August 9, 2002 11:04 PM

Open up a Command window ("Start - Run - "cmd" ". Should get you the black "DOS" window.

Type set and look at the values of the PATH, JAVA_PATH and JAVA_BIN (if you don't see the last two, don't worry). Check that none of these variables have a reference to your "old" Java installation.

You can change these via the configuration panel - system - environment variables.



Now check the output of a command like "java -version", this should give you back the actual version of your JVM.



Hope this helps.
About | Sitemap | Contact