| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Nov 3, 2009, at 10:56 AM, Sam Berlin wrote: Yup, there's a CFBundleIdentifier. I'll give the LSMinimumSystemVersionByArchitecture a shot, but I was trying to stay away deciding the logic based on OS version (from advice on this list). My hope was that LSArchitecturePriority by itself would work, and the launcher would refuse to use the 32bit architecture on platforms where there was no 32bit Java (so that, if pigs started flying and a 32bit Java came out for 10.5, it would automagically work -- or if Apple removed 32bit support from 10.6, the app would continue to launch). Is LSArchitecturePriority supposed to be doing what it's doing, or should it be recognizing the Java architecture support? The issue is that LaunchServices does not know it's launching a Java application, and it has no knowledge of Java, it's versions, their architectures, or the phases of the moon. It simply picks an architecture in the Mach-o executable, and starts it. Once that occurs, the JavaApplicationLauncher.framework and JavaVM.framework scans the available JVMs, their architectures, the user's preferences, and chooses the "best" JVM to launch in the current architecture*. Also, now that Mac OS X 10.6 has shipped, it's not a particularly creative leap of imagination to guess that Apple will _not_ be expanding it's configuration, support, and testing matrix of Java versions on Mac OS X 10.5. Removing 32-bit support from 10.6 doesn't make any sense, because that would leave 32-bit only machines without a functioning Java. Cheers, Mike Swingler Java Runtime Engineer Apple Inc. * Launching situations involving PPC/Rosetta, broken i386 stubs, impossible version requests, and JVMArchs/JVMArches may result in re-executing using the system-provided JavaApplicationStub with any number of skanky hacks attempting to avoid infinitely re-exec()'ing or fork() bombing your computer.
|
_______________________________________________ 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: | |
| >Leopard, Snow Leopard & 32bit, 64bit Preferences (From: Sam Berlin <email@hidden>) | |
| >Re: Leopard, Snow Leopard & 32bit, 64bit Preferences (From: Mike Swingler <email@hidden>) | |
| >Re: Leopard, Snow Leopard & 32bit, 64bit Preferences (From: Sam Berlin <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
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.