Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 22-10-2004, 02:21 PM   #1 (permalink)
Apprentice
 
Join Date: Sep 2004
Location: Godless Savage Garden.
Posts: 61
Default Java runtime error


hey there. i am new to java, and am facing strange problem. i have JDK1.3 installed. whenever i try to RUN class file i get this error msg:

Code:
C:\jdk1.3\bin>java volcanoRobot
Exception in thread "main" java.lang.NoClassDefFoundError: volcanoRobot (wrong n
ame: VolcanoRobot)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:488)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:10
6)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:243)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:51)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:190)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:183)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:294)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:288)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:250)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:310)
Any Java master here? thx
__________________
Bother no one. If someone bothers you, ask him to stop. If he does not stop, destroy him.
Visit: http://bodybuilding.name/
diab0lic666 is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 22-10-2004, 05:40 PM   #2 (permalink)
mekalodu
 
iinfi's Avatar
 
Join Date: Oct 2004
Location: Navi Mumbai
Posts: 1,519
Default

either your file name and java's main class name do not match OR your java runtime is not installed properly OR your have recently installed J2EE and the environment variables does not contain/mention the root directory (ie . )

the main problem is i think with the .;c:\jdk1.3;....
mention " . " on both path and classpath environment variables
__________________
mekalodu
iinfi is offline  
Old 22-10-2004, 09:26 PM   #3 (permalink)
Apprentice
 
Join Date: Sep 2004
Location: Godless Savage Garden.
Posts: 61
Default

Hey thx budd. Yea i was typing the class name wrong. the letter 'V' in VolcanoRobot is capital. Damn i need some sleep.
__________________
Bother no one. If someone bothers you, ask him to stop. If he does not stop, destroy him.
Visit: http://bodybuilding.name/
diab0lic666 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Tenida
- by Charan
- by abhidev
- by Sujeet
- by Sarath

Advertisement




All times are GMT +5.5. The time now is 09:10 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2