Tuesday 13 May 2014

How to install JDK and SET Environment setup for run a java program.

Hy dear are you worrying  about setup of java environment .So please following some steps   and start programming .
So you download a version based on your operating system.
Follow all the instruction and installed the .exe file.
Once you installed Java on your machine,you would need to set environment variables to point to correct installation directories:
Check your JDK before set the path. 

Assuming you have installed Java in
C:\Program Files\java\jdk
           or
C:\Program Files (x86)\Java\jdk1.5.0_09
directory:
Now the start the process of set the path.
Right-click on “My Computer” and select “Properties”.
Click on “advanced system setting” you get a new window.
Click on the 'Environment variables' button under the 'Advanced' tab.
Click  new .
  

Now, copy the path from where you installed “java.exe” file .
Assuming you have installed Java in C drive.
So path is    C:\Program Files (x86)\Java\jdk1.5.0_09\bin
Value name     : -         PATH
Variable value :-     C:\Program Files (x86)\Java\jdk1.5.0_09\bin

Now Click on OK and open the CMD.
and type javac than enter.
If you will get this your path is set successfully.




To write your Java programs, you will need a text editor. for now, you can consider one of the following:-

   Notepad: On Windows machine you can use any simple text editor like Notepad.

    Netbeans: is a Java IDE that is open-source.
https://netbeans.org/downloads/


    Eclipse: is also a Java IDE developed by the eclipse open-source community.
https://www.eclipse.org/downloads/
                                                           -+-+-+-+-+-+-+-+

0 comments:

Post a Comment