Link to home
Start Free TrialLog in
Avatar of paul_tipper
paul_tipper

asked on

How do I install the Eclipse JDT add-on?

I'm considering using Eclipse as an IDE for both PHP and Java development. I started by downloading and installing the "vanilla" (i.e. Java-oriented) version of Eclipse, and then tried adding the PDT add-on for PHP development, but I ran into all sorts of insoluble memory problems (OutOfMemory exceptions, PermGen and all that crud). So I then installed the PDT all-in-one bundle, and so PHP is now nicely setup with PHP perspectives etc., but now there doesn't seem to be any Java or Java EE capabilities in the IDE, and so I suspect that the Eclipse JDT (Java Development Toolkit) is not installed. My question now is - how do I go about installing the JDT add-on into my Eclipse environment? I've been Googling for hours now, but I can't find any trace of a hint as to where I can get the JDT component from. Is there a stable, combined PDT/JDT bundle available?
Avatar of Gibu George
Gibu George
Flag of India image

I don't think eny combined bundle is available. Also I am not sure how to install  JDT over PDT, then also you may get the out of memmory error. To fix the outmemory error open the eclipse.ini modify these three params

-Xms128m
-Xmx512m
-XX:MaxPermSize=128m

-Xms256m
-Xmx1024m
-XX:MaxPermSize=256m

this should do the trick
The difficulty installing JDT addon on PDT is that it contain more than one component
Avatar of paul_tipper
paul_tipper

ASKER

The workaround I've decided upon is to install two separate instances of Eclipse - one for PHP development using PDT and the other for Java EE development using the Java Enterprise version of Eclipse. The following link explains how to run two separate instance of Eclipse simultaneously:

http://www.javalobby.org/java/forums/t18678.html
ASKER CERTIFIED SOLUTION
Avatar of Mick Barry
Mick Barry
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial