gcj: accessing environment variables
erik poupaert
erik.poupaert@chello.be
Wed Apr 30 18:05:00 GMT 2003
I was going to read an environment variable MYPERSONALENVVAR and I tried
to access its value with System.getenv(), until I discovered that
System.getenv() throws a "deprecated" exception, and that I should use
System.getProperty() instead.
Then I tried to read System.getProperty("MYPERSONALENVVAR"), just to get
a null in return.
Does anybody know how I can get hold of environment variables in gcj?
More information about the Java
mailing list