Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 22013 invoked from network); 15 Apr 2009 08:25:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 15 Apr 2009 08:25:45 -0000 Received: (qmail 48762 invoked by uid 500); 15 Apr 2009 08:25:44 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 48680 invoked by uid 500); 15 Apr 2009 08:25:44 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 48669 invoked by uid 99); 15 Apr 2009 08:25:44 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 08:25:44 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of t.p.ellison@gmail.com designates 74.125.44.152 as permitted sender) Received: from [74.125.44.152] (HELO yx-out-1718.google.com) (74.125.44.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Apr 2009 08:25:36 +0000 Received: by yx-out-1718.google.com with SMTP id 36so2379607yxh.0 for ; Wed, 15 Apr 2009 01:25:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=nuRCqWgPNQCT5NpYi2SRMJhp//21moiHTUN6919rMLw=; b=vPam3nx8Eiz+dPAzNhoHDs2L1D43y4av1Ah1DifoiTUKA/+2fDIe7xKzz1n9GzySVN gfyPLTpYOmZZqUV7U8cWhR5f5LDjVAEXiXy7lMedTOltZhJR6K3xjJ0Xwuxe/HND0iKr gDF48wlOgRnJ1zS1fxdq90RGlHzwYptjw3IRU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=dB154tz0euBacsT8dRtnSNEdg47oXPn6cUN2I9vIAjjOR/auGgFFzr3ilfTaS7Xv71 qPr38n93Mx7IFQy6DB1oz1rDw3mu+uuFMwM319YDuiAAI8P+2nVxMSKM3i0sBoNwBnFU r1jB/IMD6xCro7eoiCzvqxbThb9fEM9zz8JDM= Received: by 10.100.254.15 with SMTP id b15mr7998636ani.29.1239783915570; Wed, 15 Apr 2009 01:25:15 -0700 (PDT) Received: from ?9.20.183.65? (blueice4n2.uk.ibm.com [195.212.29.92]) by mx.google.com with ESMTPS id d35sm3255699and.15.2009.04.15.01.25.13 (version=SSLv3 cipher=RC4-MD5); Wed, 15 Apr 2009 01:25:14 -0700 (PDT) Message-ID: <49E599EA.5090200@gmail.com> Date: Wed, 15 Apr 2009 09:25:14 +0100 From: Tim Ellison User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: dev@harmony.apache.org Subject: Re: Getting the (sun.arch.data.model/com.ibm.vm.bitmode) References: <49D99EA9.1070108@apache.org> In-Reply-To: <49D99EA9.1070108@apache.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Mladen, (sorry for slow response, just catching up on e-mails after a long break) Mladen Turk wrote: > Seems there is no system property set that would > allow to get the 32/64 bit cpu architecture > Both Sun and IBM vm's provide such an info, but > I suppose this is not required by the specs. > However it is used on many systems like Eclipse > and others to figure out which native library > to load for example (32 or 64 bit). > > Is there anything that can be used at runtime > for obtaining such an info except deducting > that from the os.arch property? Like you say, the os.arch property will give you that, so you'll see, for example, os.arch=x86 or os.arch=x86_64 What do you get from the non-standard properties? Just "32" and "64" ? Regards, Tim