Menu

#1 Igor JAR does not load on Mac OS 10.5

v0.2
open
Other (2)
6
2008-05-21
2008-05-21
Titoxd
No

Mac OS X uses an Apple-built Java 6 engine, and as such, the Igor JAR does not recognize it as Java 6, failing with the following exception:

5/20/08 8:08:38 PM [0x0-0x42042].com.apple.JarLauncher[414] Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file

Discussion

  • Matthew Titmus

    Matthew Titmus - 2008-05-21
    • priority: 5 --> 6
     
  • Matthew Titmus

    Matthew Titmus - 2008-05-21

    Logged In: YES
    user_id=2039085
    Originator: NO

    This is a problem with the MacOS implementation of Java. What I'm planning on doing to get around this is to post a parallel JAR file compiled with an earlier version of Java, probably an earlier 5. There will be a loss of some functionality, but the major functions should still work just fine.

    I'll be posting this release tonight or tomorrow.

    -CS

     
  • Titoxd

    Titoxd - 2008-05-21

    Logged In: YES
    user_id=1487890
    Originator: YES

    Closing as INVALID - the problem is in Apple's management of the JVM's. The user has to manually enable the Java 6 engine by making sure it is called first in the Java Application Runtime dialog in /Applications/Utilities/Java/Java Preferences.

    That said, using Java 5 would be a good idea for Mac OS X users, as the Java 6 JVM is only usable for Leopard users with a 64-bit Intel architecture (a small portion of the Mac userbase).

     
  • Titoxd

    Titoxd - 2008-05-21
    • status: open --> closed-invalid
     
  • Matthew Titmus

    Matthew Titmus - 2008-05-21

    Logged In: YES
    user_id=2039085
    Originator: NO

    Reopening for at least one other MacOS user w/out Java 6

     
  • Matthew Titmus

    Matthew Titmus - 2008-05-21
    • status: closed-invalid --> open
     

Log in to post a comment.

MongoDB Logo MongoDB