wood burning stoves 2.0*
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

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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

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

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

"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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem with installation of j2sdk1.4.1_04
Similar Threads
how to process the "java -verbose:class" output info in the command.
Java lang error
Regarding java1.5 installation
Java Doc and Eclipse
Way to SEARCH the APIs ?