answersLogoWhite

0

This is an error you receive when your Java Virtual Machine or JVM attempts to read a file but the version numbers are not supported. This can happen in cases where your version of JVM is higher than the version used for that file.

User Avatar

Wiki User

13y ago

What else can I help you with?

Continue Learning about Engineering

Java runtime error - NoClassDefFoundError -- how to remove this error in java programming?

This error means that there was a call to a nonexistent class, but this was not caught by the compiler since the class existed when the file was compiled but was removed before running the .class file. To fix this problem try restoring any files you deleted to the SAME directory as your .class file. This error can also be fixed by changing the Java classpath to point to the locations of your files. The -cp command line option should help.


When class definition not found error will occur?

This error occurs when you try to run a java program and the JVM (java virtual machine ) do not found the class file for your program. there are two reasons for this kind of error to occur 1. If you haven't set the CLASSPATH environment variable for the bin directory of your java installation or to the current directory in which you are working, then JVM will never know where to look for the class files you are trying to load and so the error occurs. 2. you may be trying to run your program with a wrong class name which doesn't exist. note: this error doesn't mean that there is any error in your code.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


The actions in a java class are called?

The actions in a java class are called methods.


Why you start java program by class?

without class non of the folder can run so the java program should start in class we can use the class without object in java

Related Questions

Resolve this error 4 java --Exception in thread main java.lang.UnsupportedClassVersionError milan Unsupported major.minor version 49.0?

The class/jar was compiled with a later major version of java than the version of java you are using to run the code with. So for instance the class was compiled with java 1.5 and you are running the class with java 1.4, which doesn't understand the format of 1.5 class files. check "java -version" from the command prompt.


What is the way to get rid of Java lang no class deffound error?

To get rid of the Java lang no class deffound error, one must add the class or .jar file which contains this class into the Java classpath. When a Java class is run from the command line, one must add a dot (.)


What happen if you declare class as recursive?

It will get a compiler error in Java.


How do you remove a class existence error in Java?

Write the class that supposedly "doesn't exist".


Java runtime error - NoClassDefFoundError -- how to remove this error in java programming?

This error means that there was a call to a nonexistent class, but this was not caught by the compiler since the class existed when the file was compiled but was removed before running the .class file. To fix this problem try restoring any files you deleted to the SAME directory as your .class file. This error can also be fixed by changing the Java classpath to point to the locations of your files. The -cp command line option should help.


When class definition not found error will occur?

This error occurs when you try to run a java program and the JVM (java virtual machine ) do not found the class file for your program. there are two reasons for this kind of error to occur 1. If you haven't set the CLASSPATH environment variable for the bin directory of your java installation or to the current directory in which you are working, then JVM will never know where to look for the class files you are trying to load and so the error occurs. 2. you may be trying to run your program with a wrong class name which doesn't exist. note: this error doesn't mean that there is any error in your code.


List out the version of java?

Running "java -version" will display the current version of Java.


Extension file for Java?

Java source files have the .java extension, compiled Java class files have the .class extension.


What is the new version of java?

The latest version of java is called Java 5 or Tiger.


What is new version of Java?

The latest version of java is called Java 5 or Tiger.


How do you fix the bad video card error on minecraft?

Perform a windows update, and make sure you have the latest version of java


What does it mean when the Minecraft demo won't work?

When this happens it could be a number of things, either you could have a problem with the demo itself where you may not have activated your account or it has run out or it could be a java error. To fix the java error I recommend simply installing the latest version.