unable to set JAVA_HOME
hello people....
I was trying to install apache-tomcat on my debian system.... prior to it it asked me to install JDK... i did tat successfully.... but at the i am unable to set JAVA_HOME variable... that is even after editing /etc/profile i added these two lines after export PATH in tat file JAVA_HOME="/usr/lib/jdk" export JAVA_HOME to install tomcat this variable needs to be set... so anybody with any idea please help..... thank you... |
assuming you are using bash try /etc/bash.bashrc
this somewhat confusing behaviour of bash is described in the INVOCATION section of the bash manpage Note that only new shells pick up the changes. |
export $JAVA_HOME
|
All times are GMT -5. The time now is 03:12 PM. |