Anthony Lucia
asked on
JAVA_HOME env var
I have an application that requires a JAVA_HOME directory to be set
I performed a 'set', and did not see one:
Below describes the java location and availability
How can I set the JAVA_HOME env var correctly, could someone please post the command or tell me what file to include the command in to get the command working upon boot up
I performed a 'set', and did not see one:
...
HOSTTYPE=x86_64
ID=0
IFS=$' \t\n'
LANG=en_US.UTF-8
...
Below describes the java location and availability
# which java
/usr/bin/java
# java -version
java version "1.7.0_09-icedtea"
OpenJDK Runtime Environment (rhel-2.3.7.1.el6_3-i386)
OpenJDK Server VM (build 23.7-b01, mixed mode)
How can I set the JAVA_HOME env var correctly, could someone please post the command or tell me what file to include the command in to get the command working upon boot up
ASKER
My software requires a JAVA_HOME env var, as opposed to a HRE_HOME
Could someone please tell me how to perform this
Could someone please tell me how to perform this
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Open in new window