system properties retrieval

From: SirThanxALot (sirthanxalot_at_mail.com)
Date: 03/18/04

  • Next message: Fogus: "Performance hit for this?"
    Date: Thu, 18 Mar 2004 13:25:14 +0100
    
    

    I want to retrieve what OS is installed via java
    i need the values that mozilla uses:

    aix, beos, bsdi, dgux, freebsd, hpux, irix, linux, macos, ncr, nec, netbsd,
    nextstep, nto, openbsd, openvms, os2, osf, palmos, qnx, sinix, rhapsody,
    sco, solaris, sonly, sunos, unixware, win16, win32, win9x, winnt, wince

    But when i run
    System.getProperty("os.name");
    i get something like "Windows 2000"
    What are the other values that can be returned by this method
    under linux i get "Linux"
    under MacOSX "Mac OS X"
    if i get all, or most of the names i can do the mapping manually

    or alternatively, is there a way to retrieve the mozilla notation?

    thanx in advance
    SirThanxALot


  • Next message: Fogus: "Performance hit for this?"

    Relevant Pages

    • Re: ELF loading
      ... :)) You should be happy: "Hyde that shit from ... Also Betov comment on hidden files and folders in Linux is disingenuous. ... Windows has them too. ... Mozilla sometimes crashed - still does, less often - but I'm running a very old "gekko"version of Mozilla... ...
      (alt.lang.asm)
    • Re: [OT] Re: Installing FreeBsd 5.1
      ... Nor was the Java SDK, ... Recent Netscapes are Mozilla with added fluff. ... be a bias, and not toward Windows. ... the Ports Collection, but it is Linux, after all. ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Comprehensive MS Outlook to Evolution Migration How-To?!?
      ... > If you want to migrate to Linux from Windows, ... > I am about to migrate a few machines to Linux. ... Evolution cannot import these files directly into Evolution because the ... To Import Mail with Mozilla: ...
      (alt.os.linux.suse)
    • Re: Comprehensive MS Outlook to Evolution Migration How-To?!?
      ... > If you want to migrate to Linux from Windows, ... > I am about to migrate a few machines to Linux. ... Evolution cannot import these files directly into Evolution because the ... To Import Mail with Mozilla: ...
      (alt.os.linux.redhat)
    • Re: reading MS outlook-file under linux
      ... Paulo Rocha wrote: ... >Aren't you allowed to use Mozilla on Windows?? ... >>What i want is that i can also read my mails when i boot my pc under linux. ...
      (alt.os.linux.suse)