Re: Intel or Mac
Subject : Re: Intel or Mac
From: Fabrizio Giudici <email@hidden >
Date: Mon, 13 Mar 2006 11:05:18 +0100
Delivered-to: email@hidden
Delivered-to: email@hidden
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).
--
Fabrizio Giudici, Ph.D. - Java Architect, Project Manager
Tidalwave s.a.s. - "We make Java work. Everywhere."
http://www.tidalwave.it/blog - email@hidden
mobile: +39 348.150.6941 - fax: +39 027.005.105.36
_______________________________________________
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:
>Intel or Mac (From: "rohit dhamija" <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.