Can you use java.lang.System?

>>> import java
>>> java.lang.System.getProperty("os.name ")
'Linux'

Raghu.


On 4/18/06, Dong, Ming <MDong@statestreet.com> wrote:
Hi,

  I try to get the platform information such as "solaris" or "windows",
when tried "sys.platform", I got only the java version information. Any
suggestion?

  Thanks a lot!

Ming Dong
781-302-5183




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642
_______________________________________________
Jython-users mailing list
Jython-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users