1 Reply Latest reply on Sep 12, 2003 4:24 AM by jant79

    Can i get enviroment variables from Java ?

    jant79 Newbie

      Question:
      Can i get enviroment variables e.g. like "JAVA_HOME", "TOMCAT_HOME", "JBOSS_DIST" from Java ?
      I used to use System.getProperty("tomcat.home");
      in my old tomcat and it worked fine.
      Now, i switched in JBoss 3.2.1 and it simply returs null.

      Can anyone help ?