This post originated from an RSS feed registered with Java Buzz
by Goldy Lukka.
Original Post: How to Avoid - UnsupportedClassVerificationError
Feed Title: Xyling Java Blogs
Feed URL: http://www.javablogs.xyling.com/thisWeek.rss
Feed Description: Your one stop source for Java Related Resources.
Sounds something new? Although now a days, the UnsupportedClassVerificationError is hardly noticied by anyone but it DOES exist.
What is this error? This error is thrown while verifying the major and minor versions of a class.
When does this occur? Typically, while executing an applet. Your JRE settings may get some mismatched data and this exception is thrown.
Why there is a mismatch? You may have more than 1 JVM installed in your system. Worse yet, the other JVM is too old to match the newer class used by the Applet.
What is the work around? Typically, this error is observed with people using Oracle 8 or above. If you have installed Oracle 8, your path will reflect the JVM used by Oracle in the beginning itself. JVM used by Oracle is too old (1.1.x). This will prevent your latest JVM to be recognized in the PATH. The simple solution for this is to place your JVM/JRE/JDK path before Oracle's.
If you are still getting this error, try finding solution in this direction itself, i.e. PATH and evironment variable settings.
[Resource-Type: Tips; Category: Java; XRating: 2] Title of the post takes you to the JavaDoc page that explains about java.lang.UnsupportedClassVerificationError