• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem with installation of j2sdk1.4.1_04

 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
From DOS command when i execute only the command JAVA,
i get this following message :
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
 
Marilyn de Queiroz
Sheriff
Posts: 9067
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I always get the "java -help" message when I type just "java" at the command line. What happens if you type "java -version"?

Two thoughts:
1) Your path may be picking up MicroSoft's java -- I don't know what happens in that case.
2) Your installation files are corrupt.
 
Engin Okucu
Ranch Hand
Posts: 174
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Marilyn , thank fo posting.
I did solve the problem. When i put "C:\j2sdk1.4.1_04\bin" at the beginning of my PATH, i had no more message.
I got a message like "java.lang.Object cannot be found..."
It 's ok now.
Thanks.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic