Should I have to add/set the path for JRE as well like I did for JDK 1.7? If yes, then please explain how. If no then why it is not necessary. (I am using windows 7, 64 bit)
Thank you.
The "JDK" is the Java Development Kit. I.e., the JDK is bundle of software that you can use to develop Java based software.
The "JRE" is the Java Runtime Environment. I.e., the JRE is an implementation of the Java Virtual Machine which actually executes Java programs. Without JRE one can only compile the application but cannot run the application.
Since JRE contains the JVM which executes the byte code generated from the javac compiler, you need to add your JRE path to JAVA_HOME variable from the environment variables. Here's the tutorial for doing so: http://java.com/en/download/help/path.xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With