How to setup Path in Java

Run Java Program:- We need to install Java Development ToolKit JDK, which is bundled with Java Run Time Environment.

At this time , the latest version of JDK version is JDK 8.
Step1:- All of java JDK download to Oracle website and download the latest version you will find.
You do not know which website you download JDK Simply click this link and download the JDK Download Download JDK and run the .exe to install java in your computer. Once you install the java in your computer. you will need to set up the environment variable to correct instalation directory.

Assuming you havr installed Java C:\Program Files\Java\jdk1.8.0_60\bin copy this address and Open 

My Computer Right click----------Click Properties------------Advanced system setting----------Environment Variable ---------- show this page
Click new show this page
 write variable name path and variable value copy this adress and paste it it in variable vale click ok -----------ok-----------ok. Your path has been set. C:\Program Files\Java\jdk1.8.0_60\bin this address is show in your computer Open My computer C Drive -----------Program Files----------Java -----------Jdk -------bin  

Step 2:- So you JDK has been installed in Step 1. Step 2 Using any text editor of your choice. such as Notepad++, Notepad etc. Notepad is already installed in your computer. 

Free IDE for Java
NetBeans:- Netbeans IDE provides java developers with all tools needed to create professional desktop, mobile and enterprise applications. Most important benefit id Netbeans is Java program create and run same page. You do not need to go cmd.

Eclipse :- Eclipse is another free java IDE for developers and programmers and it is mostly written in Java. 

Step 3:-  Run Java Program and create a First java Program
First Java Program 

No comments:

Post a Comment