posted 23 years ago
Hello,
I installed jdk1.3,jre1.3 on windows 98.
I can able to successfully compile the programs.but while running the program it gives me the following error
Error occurred during initialization of VM
java/lang/NoClassDefFoundError :java/lang/Object
In the classpath i'm having as c:\jdk1.3\bin
i can able to run the same program in c:jdk1.3\bin but, not in my own directory viz c:\java_pgms
while seeing the JavaRuntimeEnvironment in the regedit, it shows
1. Runtimelib path as
C:\Program Files\JavaSoft\JRE\1.3\bin\hotspot\jvm.dll
2.JavaHome path as
C:\Program Files\JavaSoft\JRE\1.3
Can anyone pl help me,whether i have to add some other path in the classpath?
Help me to come out of this problem
Thanks in Advance