Sei sulla pagina 1di 8

CHAPTER 1 INSTALLATION OF JAVA COMPILER AND ECLIPSE IDE

At the end of this chapter, you will be able to: Install java compiler Install Eclipse IDE

Before we could write our first java programs, we need to install our java compiler that will convert our source program into an object file that a machine can understand. An Integrated Development Environment (IDE) is a software tool used by developers in writing, compiling, debugging, and running their programs. This is where Eclipse IDE is known for. The following installation will guide us on how to install java compiler and Eclipse IDE on our computer.

Installing Java Compiler for Windows


1. Go to your browser. 2. Visit http://java.com 3. Click Free Java Download.

Figure C1.1

4. Click and Start Free Download

Figure C1.2 4. Wait for the download to complete. 5. Double click the downloaded file.

Figure C1.3 6. You will be prompted to run the executable file. Click Run.

Figure C1.4

6. Click Install.

Figure C1.5

7. Wait for the download to complete.

Figure C1.6 8. Two more windows will pop up as the set-up continues.

Figure C1.7

Figure C1.8

8. This is the last window that the installation is complete. Click Close.

Figure C1.9

Installing Java on Linux


1. If your system runs under Linux OS, you may visit http://www.java.com/en/download/help/linux_install.xml and proceed as instructed to the site

Figure C1.10

Installing Eclipse IDE


1. Visit http://www.eclipse.org/downloads/

Figure C1.11

2. Depending on your computer OS, click the corresponding link (normally, XP is Windows 32 bit, Windows 7 is 64 bit). On my case, Im using Windows XP, I will click Eclipse Classic 3.7.2 Windows 32 bit. Skip 3 if you are running under Windows OS.

3. If you are running a different OS (Linux or Mac OS), you may select it on the dropdown box. Just the same, click the bit version your OS supports.

Figure C1.12

4. You will be prompted to select the mirror location where downloads will come from. Click the suggested default site (green down arrow). Depending on the speed of your modem, this may take a while. Wait for the download to complete.

Figure C1.13 5. Double click the zip file to begin extraction of eclipse.

Figure C1.14

6. Click the Extract To commence.

Figure C1.15

7. Select (C:) Local Disk as the destination of our extraction. Click OK.

Figure C1.16 8. After completing the extraction of the file, close the Winzip program. 9. Click. Start | My Computer 10. Double click (C:) Local Disk.

11. Double Click the Eclipse folder. 12. Right-click the Eclipse icon and Send To | Desktop to create a shortcut.

Figure C1.17

Potrebbero piacerti anche