RE: Eclipse, Java, os.arch and os.name

From: josh singer <josh.singer_at_parc-technologies.com>
Date: Wed 13 Feb 2002 12:24:20 PM GMT
Message-ID: <0B9686DD2E83D411B67200508B9A9DA255F844@LON-SRV2>
I have now also allowed "x86" for os.arch when os.name is "Linux". This
change will be present in the next version 5.3 patch release.

cheers, 

josh

Developer, Parc Technologies Limited
josh.singer@parc-technologies.com
http://www.parc-technologies.com

This e-mail message is for the sole use of the intended recipient(s)
-its contents are the property of Parc Technologies Limited (or its
licensors) and are confidential. Please do not copy, review, use
(except for the intended purposes), disclose or distribute the e-mail
or its contents (or allow anyone else to do so) without our prior
permission. Parc Technologies Limited does not guarantee that this
e-mail has not been intercepted and amended nor that it is
virus-free. You should carry out your own virus checks before opening
any attachment.  Any opinions expressed in this e-mail message are
those of the author and not necessarily Parc Technologies Limited.


-----Original Message-----
From: Lloyd Kamara [mailto:l.kamara@ic.ac.uk]
Sent: Tuesday, February 12, 2002 8:31 PM
To: eclipse-bugs@icparc.ic.ac.uk
Subject: Eclipse, Java, os.arch and os.name


Hello - this isn't really a bug s such, but...
I have notice that when eclipse checks to see
whether the Eclipse-Java interface is supported
on the current platform, it is quite strict.
It wants os.arch to be i386.  This causes it to
refuse to run when (say) the IBM SDK is used under
Linux (System properties are "Linux" for "os.name"
and "x86" for "os.arch").  At the moment, I use
the following code to circumvent this:

if ( (System.getProperty( "os.name" ).equals("Linux") ) ) {
  if ( (System.getProperty( "os.arch" ).equals("x86") ) ) {
        System.setProperty("os.arch", "i386");
     }
}

I was wondering whether the test for os.arch might be relaxed
somewhat, although I can imagine why it might not (only the
"official" SDK is tested and supported, for instance).

Regards,
	Lloyd Kamara
Received on Wed Feb 13 12:23:58 2002

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:13 PM GMT GMT