Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Leopard Questions




On Aug 25, 2006, at 3:53 PM, Doug Zwick wrote:

Greg Guerin wrote:

c) There is currently no such distinction visible for ppc vs i386, so I
would expect none for 64 vs 32 bit.  That said, the "os.arch" system
property is readable by untrusted JNLP apps, and it often signals
architecture width.  The reason I expect this is because of how the 'arch'
command works, and how architectures are signified in the sysctl values and
elsewhere.  I think the ppc-64 value is "ppc64", but I don't know what the
x86-64 value is.

The JNLP Resource tag allows differentiation of resource downloads based on architecture as well as system (using the arch="ppc" and arch="i386 x86" attribute, along with os="Mac\ OS\ X"). We currently use this to only download the appropriate flat binary JNI lib for the current client, and avoid the overhead of downloading a Universal Binary (our end-users are very bandwidth conscious, so the megabyte or so that we save is very important). I hope we can continue to use this technique. This issue is of lesser import, as changing the JNLP files is a much smaller deal than changing our JNI libs.

I have been thinking about this, and the short answer is, yes, you should still be able to do that. I will file a bug to remind myself to double-check Web Start so that 64-bit x86 is correctly identified as such. I'm not sure it is right now.

Scott

------------------
Scott Kovatch
Apple Computer
Java Runtime Classes
Cleveland Hts, OH
email@hidden

I am Scott Kovatch, and I approved this message.

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Leopard Questions (From: Doug Zwick <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.