Why we should set JAVA_HOME environment variable? I haven't set it and do Java development in Eclipse and everything runs fine. When we should set it?
Cheers
Printable View
Why we should set JAVA_HOME environment variable? I haven't set it and do Java development in Eclipse and everything runs fine. When we should set it?
Cheers
The JAVA_HOME variable maybe used by some application or application server so they know where you installed you Java library or JRE. If you don't define it they might complained that they cannot locate Java in your computer.
The Eclipse platform that you have must already have the JDK in it so you can just do the programming in it. And if you have more than one JDK on your system you can register it in eclipse and choose which one to use.