Java runtime error

Status
Not open for further replies.

diab0lic666

Broken In
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
 

iinfi

mekalodu
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
 
OP
D

diab0lic666

Broken In
Hey thx budd. Yea i was typing the class name wrong. the letter 'V' in VolcanoRobot is capital. Damn i need some sleep.
 
Status
Not open for further replies.
Top Bottom