You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Nilanjan Das <ni...@india.hp.com> on 2001/08/07 16:11:44 UTC
Getting the user environment variable::Need help
Hi,
I am on HP-UX and trying to access one user environment varaible from
the Java code using
System.getProperty() method but it is returning NULL. Can anyone point
out why? This is what I did:
$export TEST=testing
$echo $TEST
testing
But when I execute System.getProperty("TEST") from my code, it returns
NULL.
Can any of you help?
Thanks,
Nilanjan