| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
You nailed it on the head Fabrizio. This property returns "i386" on an Intel Mac.
On Mar 13, 2006, at 10:42 , rohit dhamija wrote:
Is there any API in java from which we can know whether the application is running on Intel or PowerPC ?
Couldn't try by myself, anyway for sure the system properties such as os.arch work: e.g.
String osArch = System.getProperty("os.arch")
On a PPC Mac it returns "ppc"; try it on a MacIntel (I suppose it will return "intel" or such).
Travis _______________________________________________ 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
| References: | |
| >Intel or Mac (From: "rohit dhamija" <email@hidden>) | |
| >Re: Intel or Mac (From: Fabrizio Giudici <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.