Skip to main content

Topic: Help opening abchr.jar (Read 2902 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • tawd
  • [*]
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.

  • Heliologue
  • [*][*][*]
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.

  • tawd
  • [*]
Help opening abchr.jar
Reply #2
Thanks.  That did it.