For programming in java language, You need to setup environment of your PC so that you can code and run java programs. First of all you need to download and Install Java SE Development Kit In your PC and then you have to set environment variables for java In your system. Follow the steps given bellow to setup Java In windows.
Download And Install Java
Based on your installed java version, You need to set JAVA_HOME variable. You need to set path of JDK folder as JAVA_HOME variable. VIEW how to set JAVA_HOME variable in windows.
Set Java Path Variable
Also you need to set path variable for java. You need to set path of bin folder as path variable which is located inside JDK folder. VIEW how to set path variable in windows.
Verify Java Installed
To verify java is installation,
It will show you installed version of java. That means java is installed and configured properly in your system.
Download And Install Java
- Go to Java SE Development Kit DOWNLOAD PAGE.
- Click on Download button as shown in image.
- It will show you SE Development Kit 8 Downloads page.
- Select "Accept License Agreement" and click on download link based on your OS and version.
- It will show you dialog to save exe file. Save it in your local drive.
- Double click on exe file to install JDK in your system. It will start installing java In your system.
- Follow the JDK installation steps as described HERE.
Based on your installed java version, You need to set JAVA_HOME variable. You need to set path of JDK folder as JAVA_HOME variable. VIEW how to set JAVA_HOME variable in windows.
Set Java Path Variable
Also you need to set path variable for java. You need to set path of bin folder as path variable which is located inside JDK folder. VIEW how to set path variable in windows.
Verify Java Installed
To verify java is installation,
- Open command prompt.
- Type command "java -version" and press ENTER as shown in bellow image.
It will show you installed version of java. That means java is installed and configured properly in your system.



No comments:
Post a Comment