Menu

#593 Universal Binary on Mac OS

Next full release
open
nobody
OsSpecific (11)
5
2015-08-06
2009-09-02
Anonymous
No

The current Mac OS binary for JabRef is still non-universal. With the release of Snow Leopard (10.6) this requires users of JabRef to install Rosetta.

Discussion

  • Nobody/Anonymous

    I'm not sure that this is the problem. I also upgraded to Snow Leopard, and now JabRef requires Rosetta. Rosatta emulates a PPC on an x86 machine. Therefore, we don't need a universal binary of JabRef, but a build against the latest Java version used in Snow Leopard.

     
  • Nobody/Anonymous

    No, the original poster is exactly correct. Jabref itself runs just fine (java -jar /Applications/JabRef.app/Contents/Resources/Java/JabRef-2.5.jar)

    The JavaApplicationStub binary is still PPC and is the ONLY reason why you need Rosetta. It's a tiny change to the Makefile to make it universal (-force_cpusubtype_ALL -arch i386 -arch ppc ) and to set a minimum OSX version (-mmacosx-version-min=10.4)

    By the way, you don't "build against [a] Java version". Java is universal in the sense that if your Java implementation has the functions you call, it will run. That's how this can run on Sun Java, IBM Java, Blackdown, Apple, etc.

     
  • Nobody/Anonymous

    By the way, the solution is to build your own following these steps:

    download and uncompress the OSX package
    using the terminal rename JabRef.app to JabRef
    start Java Bundler (/Developer/Applications/Utilities/Java Bundler.app)
    click the choose button by Main Class and browse to JabRef/Contents/Resources/Java/jabRef-2.5.jar
    click choose icon and browse to JabRef/Contents/Resources/JabRef-Logo.icns
    Check "Use Macintosh Menu Bar"
    Create Application

     
  • Clemens Brunner

    Clemens Brunner - 2009-10-06

    Thanks for clarifying. Could you please provide such an updated Mac OS X binary? Most users probably don't even have the developer tools installed, and even more so, they would not be able to produce this working version. Thanks in advance for letting Snow Leopard users be part of JabRef again :-)!

     
  • Morten Omholt Alver

    I would like to fix this, but I'm not sure how. Can we simply replace the JavaApplicationStub? I don't have a Mac myself, so I got the help of a Mac user to build the JavaApplicationStub several years ago, and we've used the same one ever since. If the anonymous commenter can provide a stub that is universal, we can use that for future releases.

     
  • Clemens Brunner

    Clemens Brunner - 2009-10-21

    I've created a new JavaApplicationStub. It's a universal binary containing PPC, Intel 32-bit and Intel 64-bit code. I've tested it in Snow Leopard, it works perfectly. I suggest that this binary should be used in all future JabRef releases for Mac. I couldn't figure out how to attach it to this forum though, so let me know how I should send it.

     
  • Morten Omholt Alver

    Thanks! You can send it to my e-mail address, which is my username here @gmail.com.

     
  • Nobody/Anonymous

    The download of 2.6b2 still asks for Rosetta, did this update make it to that beta? The instructions below were perfect, and the app it produces doesn't ask for Rosetta (and it looks like it works too). Thanks.

     
  • Clemens Brunner

    Clemens Brunner - 2010-03-18

    Morten, the new JavaApplicationStub is still not in the latest beta (2.6b3). Could you please make sure that it at least gets in the final release?

     
  • Nobody/Anonymous

    2.6 final release still asks for Rosetta, please fix. The instructions below work to rebundle it without requiring Rosetta (works for me).

     
  • Anonymous

    Anonymous - 2011-06-27

    Folks, this problem is now urgent. Apple releases Mac OS X 10.7 in July 2011, and it no longer supports Rosetta. You need to create a Universal binary version (or parallel versions) of JabRef so that both users on older PPC Macs and users on new Lion Macs can have access.

     
  • fdar

    fdar - 2015-07-23
    • Labels: --> tocategorize
     
  • fdar

    fdar - 2015-07-23
    • Labels: --> tocategorize
     
  • fdar

    fdar - 2015-08-06
    • labels: tocategorize --> OsSpecific
    • Group: --> Next full release
     

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.