Link to home
Start Free TrialLog in
Avatar of ellandrd
ellandrdFlag for Ireland

asked on

set JAVA_HOME environment variable

how somebody explain to me how can i do the above please?
SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ellandrd

ASKER

how they in a previous question have you suggested to use:

%JAVA_HOME%\bin

how will my machine how what %JAVA_HOME% is?

at the mo i have: ;C:\Program Files\Java\jdk1.5.0_06\bin in my PATH
>>
how they in a previous question have you suggested to use:

%JAVA_HOME%\bin
>>

Because JAVA_HOME is important in itself and if you're using it, you can use it in PATH

>>how will my machine how what %JAVA_HOME% is?

From the fact that you've set it
OK guys what i have is:

;%JAVA_HOME%\bin;%JAVA_DIR%\Ant\bin;

i have set JAVA_HOME to C:\Program Files\Java\jdk1.5.0_06\
i have set JAVA_DIR to C:\Program Files\Java\

this is OK?
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Mmmm yes good point - i wasnt thinking.. ANT_HOME seems proper...
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
>>JAVA_HOME should be

>>C:\Program Files\Java\jdk1.5.0_06

is that not what i had?
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ah! OK.. thank you
thanks you both of you...
:-)