From: Raghuram D. <dra...@gm...> - 2006-04-18 21:38:53
|
Can you use java.lang.System? >>> import java >>> java.lang.System.getProperty("os.name") 'Linux' Raghu. On 4/18/06, Dong, Ming <MD...@st...> 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&kid=110944&bid$1720&dat=121642 > _______________________________________________ > Jython-users mailing list > Jyt...@li... > https://lists.sourceforge.net/lists/listinfo/jython-users > |