aspose file tools*
The moose likes Java in General and the fly likes Unsupported major.minor Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Unsupported major.minor " Watch "Unsupported major.minor " New topic
Author

Unsupported major.minor

Abiodun Adisa
Ranch Hand

Joined: Jan 17, 2002
Posts: 495
I have compiled a Java application but whenever i try to execute it i keep getting this error


"The java class could not be loaded. java.lang.UnsupportedClassVersionError:"
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24166
    
  30

You're trying to run the program with an older JVM than the compiler you've used to compile it; for example, the Java 5 compiler and a JDK 1.4 JVM. This often happens on Windows when you install a JDK in the normal place, but some previous installation has installed an extra copy of java.exe inside C:\WINDOWS or some other place it doesn't belong. Either find and delete these extra copies, or modify your PATH to make sure your JDK installation comes first.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Unsupported major.minor
 
Similar Threads
What java methods to use?
Why we choose java?
Crypted Strings in a file
hi, i have problem in reading data
i love java