jar file help

ollyclio

Registered
hey guys, ive searched around but im a bit clueless on this stuff so in need of some quick help please

http://www.bytehouse.dk/index.php?page=download

there is a java app via that download i need to run on my mac ( 10.4)
but i cant get it to work, it works ok on a pc but i dont know how to get it to open on my mac??
any ideas?

when i click on it, it comes up with the console error message.

thanks
 
You know, that there exact wording of "the console error message" may be a bit of information we need to know in order to troubleshoot your problem.

You can post too little information about your problem, but it's impossible to post too much information. Best to err on the side of the latter when trying to sort through a problem.
 
the java jar file "pbscoreboard.jar" could not be launched.
Check the console for possible error messages.

sorry thought this was a standered thing that comes up when the java file wont open.
 
Check the console for possible error messages.
Have you done this? Open Console.app and look for the error messages it's speaking of... they will greatly help troubleshooting.

Also, what version of Java does the .JAR file require? What version of Java are you running on your Mac?
 
May 15 15:11:10: --- last message repeated 15 times ---
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: Exception in thread "main"
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: java.lang.UnsupportedClassVersionError: Bad version number in .class file
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.lang.ClassLoader.defineClass1(Native Method)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.security.AccessController.doPrivileged(Native Method)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:280)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
May 15 15:11:10 ollysiMac [0x0-0xa4fa4f].com.apple.JarLauncher[44747]: at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)

ummm i cant say i know what any of that means.
ummm as for which java im running, i guess the latest one, i'll see if i can update it.
The website the programme is off just says...
Windows XP server using JDK/JRE 6 Update 5
Windows XP Home ed. using JDK/JRE 6 Update 5
so i dont know if that means the jar file wont run on a mac or i can do something to it to make it work?
 
Yep, looks like you're trying to run a .JAR file that requires a certain version of Java. Whatever version that is is not being used on your Mac. You may not have to install a new Java (in fact, Java is included with Mac OS X and cannot be updated easily)... it may be a simple matter of changing which version of the JRM you're using.

I don't know if Java 1.6 (or Java 6) is included with Mac OS X 10.4. Perhaps someone more in-tune with Java on Mac OS X can elaborate, but for the time being, it looks like you're simply trying to run the .JAR file with the wrong version of the Java RM.
 
ava for Mac OS X 10.5 Update 2
Java for Mac OS X 10.5 Update 2 delivers improved reliability and compatibility for Java SE 6, J2SE 5.0 and J2SE 1.4.2 on Mac OS X 10.5.4 and later. The release updates Java SE 6 to version 1.6.0_07, J2SE 5.0 to version 1.5.0_16, and J2SE 1.4.2 to 1.4.2_18. The update is available through Software Update and the Apple Support website.

ive just found that on the apple website. are you able to downgrade the .jar files to work with older version of java?
 
are you able to downgrade the .jar files to work with older version of java?
No, since newer versions of Java bring new features to the language (and thus the programs). So if the program (which is in the .jar file) uses a feature introduced in Java 1.6, there is no way you can downgrade the program binary to older version.

If you have sources of the program, it might be possible to implement the feature using older version's features instead.
 
Back
Top