Mailing Lists: Apple Mailing Lists

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

Honoring Java Preferences




Please, excuse me if this question is common knowledge.
I have a user that has Apple´s Java 6 (Leopard) selected as his preferred java. I have sent him a java app (launched by an sh script) that launches in Java 5. What is the right way (preferably compatible with other unixes) for the app to honor the user preference and launch the Java version the user has selected in Java Preferences?
He says most of his java apps launch in Java 6, but it took him some time to realize mine was running in Java 5 (to use 3GB he needed to put -d64 ...)


(I can give more details about the app if needed)

Thanks (I´m yet in Tiger, so I cannot easily experiment with this)

Javier


_______________________________________________ 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


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.