How can I get the system variables in UNIX? I use Runtime.getRuntime().exec("echo $JAVA_HOME"), but it doesn't work. Thank you in advance. Could anyone give me a complete example?
Best Regards<br /> <br />SCJP1.4 SCJD1.4 SCEA
Leverager of our synergies
Joined: Aug 26, 2000
Hi James, You already got answers in Java in General (intermediate) forum here, so I am closing this thread. Please don't start the same topic in more than one forum; it wastes time for people who don't realize if something's already been answered elsewhere. Thanks!