JDK Installation

JDK stands for Java Development Kit and sometimes it is referred as Java Standard Edition Development Kit (J2SE). So, don’t get confused with the two twisters. JDK is used for developing a wide range of applications such as web application, desktop applications or mobile applications using Java programming language.

JRE stands for Java Runtime Environment, is a part of JDK. JRE consists of core classes and files which helps in running your program on JVM (Java Virtual Machine). so, we can say that JRE provides the minimum runtime requirements for executing a java application.

JDK Installation Steps :

Step 1 : You should download the latest version of JDK from official website of Oracle. Follow the link.

Step 2 : Select your appropriate operating system and download. After downloading the JDK, double click on the application file and click on Next.

Step 3 :There are three features : Development Tools, Source Code and Public JRE. In these, development tools is compulsory and others are optional. Choose a location for installing JDK. By default it is C:\Program Files\Java\jdk1.8.0_25\.  If you want, you can change the location. After selecting the location click on Next.

Step 4 : If you have chose Public JRE to install then select location for Public JRE. Default location is C:\Program Files\Java\jre8\. After selecting the location click on Next.

Also note that, Public JRE is a Standalone JRE. Any java application running on your system can use this JRE. Private JRE is installed inside the JDK folder (C:\Program Files\Java\jdk1.7.0_25\jre). It is used by the tools like javac etc.

Step 5 : Click on Close.

Leave a Reply