JAVA_HOME
JAVA_HOME - Why we need to set this variable? (I hope this is an environment variable just like path and classpath).
Yes, it is an environment variable just like PATH and CLASSPATH.
You don't need to set it to be able to use the JDK.
Some programs (for example Ant and Tomcat) find the JDK by looking at the environment variable JAVA_HOME, so you might need to set it if you want to use those programs.
Do all these environment variables like path, classpath,java_home has to be set using capital letters. If so why?
convention.
Some operating systems are case sensitive, and in the past many would use capitals only.
Yes, it is an environment variable just like PATH and CLASSPATH.
You don't need to set it to be able to use the JDK.
Some programs (for example Ant and Tomcat) find the JDK by looking at the environment variable JAVA_HOME, so you might need to set it if you want to use those programs.
Do all these environment variables like path, classpath,java_home has to be set using capital letters. If so why?
convention.
Some operating systems are case sensitive, and in the past many would use capitals only.
0 Comments:
Post a Comment
<< Home