Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 4563
  • Last Modified:

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?
0
paul_tipper
Asked:
paul_tipper
  • 2
1 Solution
 
Gibu GeorgeCTOCommented:
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
0
 
Gibu GeorgeCTOCommented:
The difficulty installing JDT addon on PDT is that it contain more than one component
0
 
paul_tipperAuthor Commented:
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
0
 
objectsCommented:
yes we use multiple versions of eclipse here depending on what we are working on, works nicely.

0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now