Can Java detect host OS?

From: Josiah (josiahdykstra_at_hotmail.com)
Date: 12/08/03

  • Next message: Bill Scott: "Re: Can Java detect host OS?"
    Date: 8 Dec 2003 07:09:40 -0800
    
    

    I can't seem to find any documentation as to whether or not Java can
    detect the host operating system a program is running on. For
    instance, if I only want some block of code to run if the program is
    running on Windows (or Linux), can I detect that?

    Thanks!


  • Next message: Bill Scott: "Re: Can Java detect host OS?"

    Relevant Pages

    • Re: Help me!! Why java is so popular
      ... AIX and Linux currently for Java, C++, C and Perl development. ... The DARK BOWELS of documentation. ... Than you have a full source code of every single ...
      (comp.lang.java.programmer)
    • Re: programming job market in bay area in US
      ... - I have some experience with Java. ... We are looking for QA Engineers with some programming experience. ... Staff Software Engineer ... documentation for enterprise software products and development... ...
      (comp.programming)
    • Re: Deadlock situation while reading from sockets
      ... Look at this documentation, ... This page has most all common java information! ... JavaTM 2 Platform, Standard Edition, v 1.5.0 Beta 2 API Specification ... My clients wouldn't be ending the string>> with "\n". ...
      (comp.lang.java)
    • More Information about Java
      ... Method documentation tags ... Variable documentation tags ... Your first Java program ... Chapter 3: Controlling program flow ...
      (comp.lang.java.gui)
    • Re: Aejaks 0.5 released
      ... If I understood correctly, this is usable only from the tcl that runs inside java, isn't it? ... AEJAKS: http://aejaks.sf.net ... This package contains source for Java and Tcl files, documentation source, build scripts, library files, icon and image source, Eclipse project and classpath files. ...
      (comp.lang.tcl)

  • Quantcast