|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
newbie question regarding setting environment variables
I have ant install on Ubuntu 8.04.
When I try to run ant I get an error message, "Unable to locate tools.jar, etc.". I expect that I have to set JAVA_HME, but for the life of me I can not figure out where or how. I have checked the manual, the FAQ, etc. I guess I'm just being dense today. Can someone help? Thank you. FDG |
|
#2
|
|||
|
|||
|
newbie question regarding setting environment variables
I expect that I have to set JAVA_HME, but for the life of me I can not
figure out where or how. For a session you can type JAVA_HME=<path to your java JDK> Note that you have to set the path to your JDK, not the JRE. Setting the path permanent, you can alter your ~/.profile (in your /home/<usernamedir). Type here at the bottom export JAVA_HME=<path to your java JDK> and add optionally to your path export PATH=JAVA_HME/bin:$PATH Regards Henning PGP SIGNATURE Version: GnuPG v1.4.6 (GNU/Linux) TQqIBLuyXeEP79xLEvhb+qc= =QySt PGP SIGNATURE |
![]() |
| Viewing: Web Development Archives > Mailing Lists > Apache > newbie question regarding setting environment variables |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|