Menu

fobs4jmf is *broken* with Java 6 on OS X

user
2008-07-29
2013-05-09
  • Nobody/Anonymous

    Hi, I wrote some posts earlier about not being able to play FLV files using fobs4jmf. However, the real issue was that I could not link to the libfobs4jmf.jnilib.

    The problem seems to be that that jnilib is *not* compatible with the 64-bit Java 6 for OS X (Leopard).

    When I changed my java version to one of the following then I was able to link to the fobs native library without a problem: Java 5 (64-bit), java 5 (32-bit), or java 1.4.2 (32-bit).

    Unfortunately, I am using some code from Java 6 in my project, and it will be quite time-consuming to revert back to java 5 code (for instance I use Path2D all over the place, etc).

    Can someone do me a favor and verify that java 6 is indeed incompatible with fobs4jmf on OS X? I tried compiling the 0.4.2 source code manually (which took some time!), but run into exactly the same issues. That is, it works under Java 5 and 1.4.2 but not Java 6.

    Btw, Java 6 and fobs4jmf play together just fine on Windows and Linux (at least using the 32-bit version-- which is not available for OS X).

    I have absolutely no idea whatsoever as to why Java 6 would have issues loading the jnilib. If anyone has a workaround or and ideas, I would be most appreciative!

    Thanks, -sj

     
    • Nobody/Anonymous

      Same problem here. I tried the -d32 option with the java command, but it won't run in 32-bit mode and automatically switches to 64 bit mode. I've read on other forums problems w/ 32-bit compiled natives with Java 6 on the Mac.

      Sigh.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.