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: Using Java 1.3 on PowerPC and 1.5 on Intel




On 30-Mar-06, at 9:45 AM, Ulrich Kortenkamp wrote:


Am 30.03.2006 um 16:26 schrieb Scott Palmer:


On 30-Mar-06, at 8:16 AM, Ulrich Kortenkamp wrote:

Hi,

after doing some benchmarks we now know for sure that we have to use Java 1.3.1 on PowerPC-based machines, and Java 1.5 on Intel- based ones. Is there a good way to do this? To me, it seems that there is no way to specify something like this for JavaApplicationLauncher...

You can do this with Java Web Start. Java Web Start can make an application bundle that lanches your app. I would start there.

I doubt that this is a solution for our problem, at least in the case of stand-alone-no-network-machines. We definitely don't want Java Web Start to pull the latest version of our servers, but we want that users who download a .dmg or get it on CD can run the application like they can with any other application.


Or did I miss a way to make JWS work locally? (without running a web server an connecting to localhost)

As of Java 5 there is a way to install into the JWS cache from a CD or other media. I assume this simply means that you must have Java 5 installed so its version of JWS is making the decisions and that the JNLP data can still direct the application to launch with Java 1.3. If you mark the application as "offline-allowed" (or whatever that parameter is named) then it does not need to connect to a server to launch the application. I suppose you could populate the cached JNLP data with a bogus update URL so that it was impossible for JWS to update the application automatically when the system is online.


Keep in mind that you would control the URLs and what is available on your server. So if you went with an installation of a JWS application from a .dmg and JWS checked for the "latest" version it will only see a new version if you configure the URL and your server to make such a version visible.

Scott

_______________________________________________
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: 
 >Using Java 1.3 on PowerPC and 1.5 on Intel (From: Ulrich Kortenkamp <email@hidden>)
 >Re: Using Java 1.3 on PowerPC and 1.5 on Intel (From: Scott Palmer <email@hidden>)
 >Re: Using Java 1.3 on PowerPC and 1.5 on Intel (From: Ulrich Kortenkamp <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.