Sunday 15 May 2016

Environment Setup to run first java program

If you are trying to set up environment to run java program this blog gives free resources to you.This section gives easy guideline to download and set up java on your machine.
Java SE is freely available from the link
Go to this below link and download latest java environment for your machine operating system(32-bit /64-bit).
Once you download java on your machine ,you would need to set environment variables to point to your java installation current directories:
 How to set java path on popular operating system
 1-Setting up the path for windows:
 I assuming you have to install java in C:\Program Files\Java\Jdk directory.
 >Right Click on 'My Computer' and select 'Properties'.
>click on 'Environment variables' button under the 'Advanced' tab.
>Change the 'Path' variable so that it also contains the path to the Java executable.
Example,If the path is currently set to 'C:\WINDOWS\SYSTEM32', then change your path to read 'C:\WINDOWS\SYSTEM32;C:\Program Files\java\jdk\bin'.Change this path to point java program.
 Below picture describe the above process


Step-1 Open My Computer properties











Step-2  Press on advanced tab and open
















Step 3-Press on environment variables

















Step 4-Press on New tab of user variable

















Step 5-write path in user variable

















Step 6-Copy the path of bin folder


















Step 7-paste path of  java bin folder in variable value

















Step 8-Finally click ok button

Step 9-click on OK button to add java path

No comments:

Post a Comment