13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10.4 Eclipse: The Source of SWT253perspective is a set of views, which are panes within the IDE, each having aspecific purpose, such as editing the project c<strong>on</strong>tents, editing files, keeping atask list, and so <strong>on</strong>, as well as menus and toolbars relevant to those views. TheResource perspective has its uses, but it is not the main <strong>on</strong>e you will be usingas a Java programmer. As a Java programmer, you will most likely want the Javaperspective. 7First, you must decide if you are going to install Eclipse in a comm<strong>on</strong> locati<strong>on</strong>(such as /usr/local or /opt), or if you are just going to install it inyour home directory for your own use. The answer to this questi<strong>on</strong>, naturally,depends <strong>on</strong> whether or not you have root access <strong>on</strong> the machine and whetheror not multiple people actually use the machine.CAUTIONWe are assuming you already have at least <strong>on</strong>e Java SDK installed. If you d<strong>on</strong>ot, refer to Chapter 6 for some tips <strong>on</strong> installing Java SDKs.We’re going to install in the user’s home directory. Doing this couldhardly be simpler. So, step two: From your home directory, type:$ unzip eclipse-SDK-2.1.2-linux-gtk.zipThat’s it. You’re d<strong>on</strong>e. Now just cd to the newly created eclipse directoryand type ./eclipse. The first time you do this, you will see a “Completingthe install” banner (Figure 10.11).Figure 10.11 Running Eclipse for the first time7. Although you will also often be using the Debug perspective.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!