Register / Login
this forum made possible by our volunteer staff, including ...
Roel De Nijs
Stephan van Hulst
Java in General
why PATH environment is wrong in Java application?
posted 8 years ago
I am using Mac OSX and JDK 1.6, I failed to launch a new process from
because of the environment variable PATH.
If I run new
().environment(), it only contains the
but if I run
> echo $PATH > /usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin
why the PATH is different between my java app and console? I am using the same user to run command and launch my java application.
I did google it, but failed to find anything useful.
waiting for your reply. cheers.
SCJP 1.4<br />SCWCD 1.3<br />SCJD<br />SCBCD<br />IBM Xml Cert in progress
Boost this thread!
Problems with Java Home in VMBox
classnotfound Java->mysql jdbc problem!
how to uninstall java 1.5?
Editing the bashrc file