Meaningless Drivel is fun!*
The moose likes Java in General and the fly likes Problem with installation of  j2sdk1.4.1_04 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Problem with installation of  j2sdk1.4.1_04" Watch "Problem with installation of  j2sdk1.4.1_04" New topic
Author

Problem with installation of j2sdk1.4.1_04

Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
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

Joined: Jul 22, 2000
Posts: 9052
    
  12
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.


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Engin Okucu
Ranch Hand

Joined: Feb 09, 2002
Posts: 174
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with installation of j2sdk1.4.1_04