Discussion:
System variable, System.getenv()
erik jansson
2014-10-11 16:04:16 UTC
Permalink
Hello


I am beginner with Java and Netbeans 8.0 IDE


I have a standalone program with the following command :



String p2 = System.getenv("USERPARAMETER");



How I can set this system variable in Netbeans 8.0 IDE as if
USERPARAMETER variable was coming from command line ??







Many thanks
Benno Markiewicz
2014-10-11 16:16:59 UTC
Permalink
See the tutorial
http://docs.oracle.com/javase/tutorial/essential/environment/cmdLineArgs.html

With kind regards, markiewb
Post by erik jansson
Hello
I am beginner with Java and Netbeans 8.0 IDE
String p2 = System.getenv("USERPARAMETER");
How I can set this system variable in Netbeans 8.0 IDE as if
USERPARAMETER variable was coming from command line ??
Many thanks
Loading...