• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Cocoa-Java-based Universal Binary?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-Java-based Universal Binary?


  • Subject: Re: Cocoa-Java-based Universal Binary?
  • From: Bob Ippolito <email@hidden>
  • Date: Tue, 14 Jun 2005 00:03:11 -0400


On Jun 13, 2005, at 11:26 PM, Tim Lucas wrote:

On 14/06/2005, at 10:03 AM, Frédéric BLANC wrote:

However, Cocoa-Java builds don't belong to this family: I presume that
at least their executable "wrapper" to .jar classfile is qualified for
going through some sort of Universal Binary-sation…



Do you need to create a universal binary for the bootstrap routine? Surely Rosetta would be sufficient for the bootstrap if the Java portion runs in the native JVM.

Yes. If a process is started with Rosetta, there is no documented way to start running any x86 code whatsoever in that process. As far as I know, the bootstrap code does not spawn a new process.


If it did spawn a new process via a universal binary, it would surely break any application that mixed native and Java code, because then on Intel you'd be running in x86 mode by default, and the application wouldn't be able to load its PPC-only native plugins or frameworks. It's actually a good thing that current applications start up with and stay running under Rosetta because that means that they will continue to run correctly without an update.

However, it's unfortunate for Cocoa-Java users that there is currently no (easy) known way to create a universal binary out of a Cocoa-Java application. I wouldn't be surprised if there never is one, given the lack of attention Cocoa-Java has been given in recent times.

-bob

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Cocoa-Java-based Universal Binary?
      • From: Frédéric BLANC <email@hidden>
References: 
 >Cocoa-Java-based Universal Binary? (From: Frédéric BLANC <email@hidden>)
 >Re: Cocoa-Java-based Universal Binary? (From: Frédéric BLANC <email@hidden>)
 >Re: Cocoa-Java-based Universal Binary? (From: Fritz Anderson <email@hidden>)
 >Re: Cocoa-Java-based Universal Binary? (From: Frédéric BLANC <email@hidden>)
 >Re: Cocoa-Java-based Universal Binary? (From: Tim Lucas <email@hidden>)

  • Prev by Date: Re: Cocoa-Java-based Universal Binary?
  • Next by Date: Passing data to Core Data model
  • Previous by thread: Re: Cocoa-Java-based Universal Binary?
  • Next by thread: Re: Cocoa-Java-based Universal Binary?
  • Index(es):
    • Date
    • Thread