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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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