ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Henning Bredel <>
Subject Re: newbie question regarding setting environment variables
Date Fri, 04 Jul 2008 16:18:59 GMT

> I expect that I have to set JAVA_HOME, but for the life of me I can not
> figure out where or how.

For a session you can type

JAVA_HOME=<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/<username> dir). Type here at the bottom

export JAVA_HOME=<path to your java JDK>

and add optionally to your path




View raw message