Skip to main content
Topic: Help opening abchr.jar (Read 3200 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help opening abchr.jar

I have the file on my desktop and I extracted all the contents into a single separate folder.

I have installed JRE 5.0 Update 15 x64 on my Windows 7 x64 system.

When I double click on the abchr.jar file it opens in Winrar.
When I 'open with' then browse to Java.exe i get "Could not find the main class.  Program will exit".
When I run from command line "C:\Program Files\Java\jre1.5.0_15\bin\java.exe -jar abchr.jar" i get this message:
Code: [Select]
java.lang.UnsupportedClassVersionError: Bad version number in .class file
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at Source)
    at Source)
    at$100(Unknown Source)
    at$ Source)
    at Method)
    at Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"

I accept that there is probably an error on my side of the keyboard but I would like to find out what it is so I may join this test.

Help opening abchr.jar

Reply #1
Sounds like perhaps the jar file was compiled with Java 6, and you're running it with Java 5.  Try installing the latest Java 6 runtime and see if that works.

Help opening abchr.jar

Reply #2
Thanks.  That did it.

SimplePortal 1.0.0 RC1 © 2008-2020