Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Help opening abchr.jar (Read 4385 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Help opening abchr.jar

I have the ABC-HR_bin.zip 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 java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown 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.