Hi all, I am confused with the environment variables... here is what i have....
1. I am able run the command
Java and javac from any directory of my system.
2. i have only set one thing i.e , PATH variable ,to jdk\bin
3. I have NOT set JAVA_HOME.
So what is the actual use of JAVA_HOME ?.I mean to ask... like classpath is set to identify the class files, so is JAVA_HOME is set to identify the java,javac commands?? . If thats the case then even without setting JAVA_HOME how am i able to execute the java and javac commands (Is windows helping me in this case?)
Similarly its the case with the
TOMCAT(i understand this is not the right place for tomcat question but still ),
I have used the exe of tomcat. I have not set catalina_home path. I am able to use the tomcat.
Why do we need catalina_home path?