jpablobr.com

→ eclipse pdt x64 installation in bluewhite64

More on: bluewhite64, Linux, Slackware, eclipse pdt, Mon Nov 14 02:34:24 -0600 2007

Bluewhite64 is an x64 Slackware version

First download the jdk-version-linux-amd64.bin from java.sun.com

Next, to install it... run:

# chmod u+x jdk--linux-amd64.bin # ./ jdk--linux-amd64.bin

(I installed it to usr/lib/jdk1.6.0_11/bin/java but that's just my preference).

vim to /etc/profile and where it says "# Set the default system $PATH: " after "games" add your java $PATH PATH=”/usr/local/bin:/usr/bin:/bin:/usr/games:/usr/lib/jdk1.6.0_06/bin”

Finally, to save and apply changes... just execute:

# source /etc/profile

Test your java installation by running "#java -version" it should display something like this:

java version "1.6.0_12" Java(TM) SE Runtime Environment (build 1.6.0_12-b04) Java HotSpot(TM) 64-Bit Server VM (build 11.2-b01, mixed mode)

And just to double check, can you confirm that echo $JAVA_HOME and echo $PATH contains your java paths.

Now Eclipse...

Download the 64 Bit version of Eclipse IDE for Java EE Developers to your download directory. Once downloaded, extract the archive, then moved the files to your preferred dir:

cd ~/downloads tar -zxvf eclipse-jee-ganymede-SR1-linux-gtk-x86_64.tar.gz mv eclipse /jpablobr

You can run Eclipse for the first time from the command line like this:

/.eclipse

Selected a workspace within your home directory once prompted. From here, installing PDT 2 is an easy task - adding two sites to the Update Manager. Once Eclipse had started, go to Help -> Software Updates. The Software Updates and Add-ons window will appear, navigate to the Available Software tab. From there, click the “Manage Sites” button, followed by “Add” once the Site Manager appeared. The only additional prerequisite to install for PDT is the Dynamic Languages Toolkit, or DLTK. So, add:

http://download.eclipse.org/technology/dltk/updates-dev/1.0/

in the Dialog, and clicked OK. Also, add the PDT update site:

http://phpeclipse.sourceforge.net/update/stable/1.2.x/

Click OK to close the Available Sites Manager. The two new sites should appear in the Available Software sites list. So, expand the DLTK site, then the Dynamic Languages Toolkit option, and check “Dynamic Languages Toolkit - Core Frameworks (Incubation)”, from the top of the list. Finally, repeat the process with the PDT Update site - expanded PDT Update Site -> PDT SDK 2.0.0 and checked “PDT Runtime Feature” from the list. That’s it. Click Install and follow the prompts.

Once installed, Eclipse recommends restarting the application. Accept, restart, and enjoy a shiny new PHP IDE, with PDT 2.

Setting Up the Environment

Once Eclipse Ganymede has reloaded, click on the Workspace icon to open the IDE workspace for the first time. The default Perspective is JEE. To change this, go to Window -> Open Perspective -> Other, then scroll down and select PHP. Other Views, relating to other plugins can be inserted into this perspective, and the perspective saved for future use.

blog comments powered by

Disqus