IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
Help opening abchr.jar
tawd
post Jul 19 2011, 01:38
Post #1





Group: Members
Posts: 21
Joined: 14-April 06
Member No.: 29512



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
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.
Go to the top of the page
+Quote Post
Heliologue
post Jul 19 2011, 04:56
Post #2





Group: Members
Posts: 100
Joined: 17-September 06
Member No.: 35303



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.
Go to the top of the page
+Quote Post
tawd
post Jul 19 2011, 05:10
Post #3





Group: Members
Posts: 21
Joined: 14-April 06
Member No.: 29512



Thanks. That did it.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th April 2014 - 01:37