Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

Coding Forum


You are currently viewing our Coding Forum as a guest. Please register to participate.
Login



Reply
Old 09-08-2007, 03:41 PM java: java command
Skilled Talker

Posts: 79
Name: oliver
Trades: 1
ok guys i have looked about on the net for agies now and only found working fixes and help for linux users ( different distros).

Cant seem to find one for windows which is my problem. Im using the cmd java from the consol but i get this error

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object

Hope some 1 can help me out here.
cybernetic is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 09-13-2007, 08:47 AM Re: java: java command
WebcyteDesign's Avatar
Registered User

Posts: 159
Location: Hamilton
Trades: 0
From what I see, try uninstalling java and then re-install it. Also make sure you are pointing to the java runtime in your path environment variable. Also double check the spelling of ... well everything. I hope this helps.
WebcyteDesign is offline
Reply With Quote
View Public Profile Visit WebcyteDesign's homepage!
 
Old 09-13-2007, 08:54 AM Re: java: java command
Skilled Talker

Posts: 79
Name: oliver
Trades: 1
Done, done and done, i have re-installed about 5 times in total, everything is added in the user veriables path section as well as system veriables "classpath".

I know the user veriable path is correct because java, javac etc none of them used to work. now they do all except java which is weird as they are both in the same folder.

I can however use java when i do the full link C:\j2sdk1.4.2_15\bin\java.exe so at the min each time i want to do somthing i have to us
C:\j2sdk1.4.2_15\bin\java.exe nameOfProjectHere which is starting to piss me off lol.

It does find java when using the java command just spurts out this stupid error and yet when i link directly to it, it doesnt
cybernetic is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to java: java command
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.11196 seconds with 12 queries