This week's book giveaway is in the Android forum.
We're giving away four copies of Android Programming: The Big Nerd Ranch Guide and have Bill Phillips & Chris Stewart on-line!
See this thread for details.
Win a copy of Android Programming: The Big Nerd Ranch Guide this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Applets using enviromental variables?  RSS feed

 
Nicholas Bergmann
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

this is my first post here and I'm not a person who, to be honest, has any real understanding of JAVA. I'm just confronted with it at work and have to see how I can sneak myself trough it. So I beg you're pardon in advance if I seem a bit unknowing...it probably is because I am :P

So here I got a question for you folks an JAVA-Pros out there:

Let's assume I'm on a Windows XP. I set an enviromental variable under System>Advanced>EV : _JAVA_OPTIONS=-Djava.io.tmpdir=D:\TEMP. In wich cases will this variable be put to use?

I ask because I have an applet which I want to use this global variable, but it seems to just ignore it and uses the common TEMPDIR defined in Windows instead.

Maybe someone in here can straighten that out for me a bit.

Thanks a lot in advance

sincerely

Nicholas Bergmann
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!