http://cvs.apache.org/viewcvs.cgi/jakarta-commons/lang/src/java/org/apache/commons/lang/SystemUtils.java?rev=1.38&view=auto
While it doesn't provide you with the actual String, it gives you a
way to look it up, and there's always the chance you could just use
the API.
Hen
On Mon, 20 Dec 2004 23:41:30 +0100, Peter Maas <[EMAIL PROTECTED]> wrote:
> On solaris:
>
> SunOS
>
> --p
>
> On Mon, 2004-12-20 at 17:26 -0500, Frank W. Zammetti wrote:
> > I was informed last OT post I made that the subject should always
> > include the word "beer". I added the "free" to get your attention :)
> >
> > I'm working on something for which I need to know what the os.name
> > property on various OS's is. I would greatly appreciate it if some
> > folks could try the following:
> >
> > public class test {
> > public static void main(String[] args) {
> > System.out.println(System.getProperty("os.name"));
> > }
> > }
> >
> > I'm particularly interested in various *nix variants, Linux, Mac and
> > such. Windows I already have answers for (although some verification to
> > be sure nothing fishy is going on wouldn't hurt).
> >
> > If you could just post your OS and what the result was, I would greatly
> > appreciate it. Thanks in advance!
> >
> --
> Peter Maas
> Application Architect / Streaming
>
> Noterik Multimedia BV
> Prins Hendrikkade 120
> 1011 AM Amsterdam
> The Netherlands
>
> Tel: +31 (0)205929966
> Fax: +31 (0)204688405
> Gsm: +31 (0)624687952
>
> Web: www.noterik.nl
> --------------------------------------
> Take a look at our streaming solutions:
> http://www.streamedit.com/demo.html
>
> Get firefox:
> http://www.mozilla.org/products/firefox/
> ---------------------------------------
> :wq!
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]