- What exactly is the purpose of JDK – running java programs or developing?
- There seems to be too many packages that include java and jdk/sdk in their title. Which one should I install if I want to develop Java applications?
- Who uses JAVA_HOME and what should I set it to be?
What exactly is the purpose of JDK – running java programs or developing? There
Share
JAVA_HOMEsystem variable usually is required for enterprice java software (application servers, DBs, development tools and so on). You should setJAVA_HOMEvariable to root directory of JDK or JVM(setting it to JDK always works, but maybe some software will run as expected withJAVA_HOMEpointing to JRE). If you setJAVA_HOMEright then$JAVA_HOME/bin/java -versioncommand should pring version of java.