Installing the Java Development Kit (JDK) and Eclipse IDE on your Windows computer
Posted: February 13, 2012 Filed under: NEZzen 2 Comments »Installing the Java Development Kit (JDK)
You will need this installed before you can do anything else. If you already have the JDK installed (you can check by going to the Windows Control Panel and opening the “Programs & Features” list), you can skip this step.
- Go to http://www.oracle.com/technetwork/java/javase/downloads/index.html.
- Scroll down to “Java SE 6 Update 31” and click the red download button under “JDK”.
- Accept the license agreement and download the file “jdk-6u31-windows-i586.exe” (for 32-bit Windows) or “jdk-6u31-windows-x64.exe” (for 64-bit Windows).
- Run the installer executable and follow the prompts, accepting default options.
- Installation is now complete! You do not need to register. You do not need the installer after this step.
Installing the Eclipse IDE
After you’ve installed the JDK, you will need to install Eclipse. If you already have a suitable version of Eclipse installed, you can skip this step.
- Go to http://www.eclipse.org/downloads/.
- Download “Eclipse Classic 3.7.1” for Windows and pick either 32-bit or 64-bit depending on the version of the JDK you have installed.
- Extract the archive “eclipse-SDK-3.7.1-win32*.zip” that you just downloaded to a folder of your choice. You will not need the archive anymore after this step.
- Eclipse is now installed! You can run it by going to the folder and launching “eclipse.exe”.
Hi! I have done it twice but I can´t see javac installed;
ok.
however Eclipse is executing hello world
How can I compile from the command line?
By default, javac is not in your %PATH% environment variable. You can find javac.exe in the bin/ sub-directory of where you installed JDK in. For example, mine is in “C:\Program Files\Java\jdk1.6.0_30\bin”.