

This is not a productive way of programming. Java program can be written using a plain text editor and compiled using command window. The new path takes effect in each new Command Prompt window you open after setting the PATH variable. The value should be installation directory: “C:\Program Files\Java\jdk1.6.0_11\bin” If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. Look for "Path" in the User Variables and System Variables. For Windows XP/Windows 7 - To set the PATH permanently:Ĭhoose Start, Settings, Control Panel, and double-click System and select the Advanced tab and then click on Environment Variables (Figure 4). If you can’t see Java version as above on command prompt, you need to set class-path in the system variable. Use “java-version” command to check installed JRE version. You can recheck installation using the command prompt. Shortly, you should see a message telling you that installation was successful. I’ll assume that you’ve accepted the default directory (c:\ProgramFiles\Java\jre6), but you can select a different one. A couple of minutes into the installation process you’ll see a pop-up window asking you where to install JRE. It is very much similar to the installation of other software on windows. Once download completes you can start the installation. Click Save File on the pop-up screen, as shown in Figure 2 (the file name depends on the version of JDK). Click on the red colored box to download JDK.Īfter selecting the Windows platform and clicking the Download button you’ll see a Login for Download screen, which is optional: You can skip this step. Once you open the link you will be able to see something like below (Figure 1) screenshot. You can download the latest version of Java from here ).
/eclipse_logo-ECLIPSE-57d47d793df78c58334b50bf.png)
To develop and run any java program you need to install JDK in your system. Java Defining, Instantiating and Starting Thread.String buffer class and string builder class.Important methods of String class with example.


