Link to home
Start Free TrialLog in
Avatar of gudii9
gudii9Flag for United States of America

asked on

JAVA_HOME use

Hi,

I read

JAVA_HOME
is used by build tools like ANT and maven. Does it has any other use apart from this.

please advise
Any links resources ideas highly appreciated. Thanks in advance
SOLUTION
Avatar of chaitu chaitu
chaitu chaitu
Flag of India 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
Avatar of Sharon Seth
JAVA_HOME is an env variable just like CLASSPATH,PATH and other env variables .
Say you have installed a java application , that needs to use JDK (for example) . There has to be a way for it to know where JDK is installed . It would then use JAVA_HOME to get that path.
JAVA_HOME
is used by build tools like ANT and maven. Does it has any other use apart from this.

It's used to compile (be it from maven, ant or command line) and run java applications.
Avatar of gudii9

ASKER

Say you have installed a java application
How do we know if installed application depends on java or not. I rememeber installing many applications on my laptop but never bothered to find if is java application or not and if it is using java_home or not. Please advise.
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
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