I know that I can just run a program with
System.out.println(System.getEnv());
but I would like to just check them without having to do that. Any Ideas?
There is actually a way to see the env vars. It is not implemented as a function, but part of other tasks.
You can right click on any projects in Package Explorer , then click
Run As -> Run Configurations . And here, in tab Environment -> Select...
Here you go. The list of system env Eclipse inherited are shown here.
Eclipse's environment will inherit from the user executing it. Depending on your OS, you should have a command line tool to tell you.
You can also look at the configuration:
Helios
On Windows, if you have Sysinternals Process Explorer installed - which I would strongly suggest any developer do - then you can:
On Linux
xprop | grep -i pid
xprop | grep -i pid
${PID}
with the PID of the Eclipse Process ID: strings /proc/${PID}/environ
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.