Solved

How do I install the Eclipse JDT add-on?

Posted on 2009-05-19
4
4,522 Views
Last Modified: 2012-05-07
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
Comment
Question by:paul_tipper
  • 2
4 Comments
 
LVL 12

Expert Comment

by:Gibu George
ID: 24424710
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
 
LVL 12

Expert Comment

by:Gibu George
ID: 24424716
The difficulty installing JDT addon on PDT is that it contain more than one component
0
 

Author Comment

by:paul_tipper
ID: 24425490
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
 
LVL 92

Accepted Solution

by:
objects earned 500 total points
ID: 24427459
yes we use multiple versions of eclipse here depending on what we are working on, works nicely.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
topping2 challenge 13 83
Which is the latest version of Apache Tomcatl 3 50
micro services vs rest web services 16 86
use lov values 2 36
For customizing the look of your lightweight component and making it look opaque like it was made of plastic.  This tip assumes your component to be of rectangular shape and completely opaque.   (CODE)
Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
The viewer will learn how to implement Singleton Design Pattern in Java.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now