Re: Environment

2001-10-12 Thread Nathan Meyers
On Fri, Oct 12, 2001 at 05:08:12PM +0200, Raphael Mack wrote: > Hello again, > > is there a way to read the system-environmentvariables with JAVA? If you mean the Unix/Linux environment - not without making JNI calls. If you can make JNI calls, the "getenv()" call will retrieve individual values

Re: environment variable list, take 3

1999-06-09 Thread Ulli Kortenkamp
> "Nelson" == Nelson Minar <[EMAIL PROTECTED]> writes: Nelson> I am still not sure if this is comprehensive. If someone Nelson> with access to the Blackdown sources would be so kind as Nelson> to grep through them for calls to getenv(), that would Nelson> help a lot. What abo

Re: environment variable list, take 3

1999-06-08 Thread Albrecht Kleine
Hi, > Generic JDK variables, Java 1.1 and Java 1.2: .. > JAVA_COMPILER If set to "tya", then "libtya.so" will be used as > a JIT compiler if it is installed correctly. If > set to "none", no JIT will be used. IMHO should one use a _case_ _sensitive

Re: Environment variables

1998-07-22 Thread Paul Reavis
Nathan Meyers wrote: > > A little bit of shell or perl (or name-your-favorite-command-interpreter) > programming could give you a script that would construct a Java > command-line containing all of the environment variables as "-D..." > options. I've attached a perl script that'll send a Java com

Re: Environment variables

1998-07-22 Thread Nathan Meyers
Paul Reavis wrote: > So I tried to access an environment variable for the first time today; > no soap. Since System.getenv() is deprecated, I used > System.getProperty(). I couldn't get it to fetch my variable with what I > thought was the correct way: > > bash$ export foo=bar > bash$ java myapp

Re: Environment variables

1998-07-22 Thread Jan-Henrik Haukeland
Paul Reavis <[EMAIL PROTECTED]> writes: > So I tried to access an environment variable for the first time today; > no soap. Since System.getenv() is deprecated, I used > System.getProperty(). I couldn't get it to fetch my variable with what I > thought was the correct way: > > bash$ export foo=b

Re: Environment variables

1998-07-22 Thread Paul Reavis
Vincent Trussart wrote: > > System properties != environment variables... Blurgle... oh well, I guess environment variables are too nonportable or something. Well, time to put in a real syntax for command-line switches for the thing- -DBLAH=GRALP is not something I want to type all the time. --

Re: Environment variables

1998-07-22 Thread Vincent Trussart
Paul Reavis wrote: > So I tried to access an environment variable for the first time today; > no soap. Since System.getenv() is deprecated, I used > System.getProperty(). I couldn't get it to fetch my variable with what I > thought was the correct way: > > bash$ export foo=bar > bash$ java myapp

Re: Environment variables

1998-07-22 Thread Gassoway, Paul
Paul Revis wrote: >no soap. Since System.getenv() is deprecated, I used >System.getProperty(). I couldn't get it to fetch my variable with what I >thought was the correct way: Check out the documentation for java.util.Properties. Basically, Properties have no relationship to environment variabl