tags:

views:

175

answers:

4

There are Eclipse IDE for Java EE Developers (190 MB) and Eclipse for PHP Developers (139 MB)

I've already installed eclipse for PHP.

I don't want to install another eclipse for java.

Is it possible to use the same eclipse for both java and PHP?

EDIT

I decide to install another eclipse for java finally....

A: 

Yes it is possible, just install the Java Plug-In

http://www.eclipseplugincentral.com/ http://www.eclipse.org/callisto/java.php

jpabluz
How to install it?
I added the URLs with more Info. =)
jpabluz
A: 

Yes it is go into the Help->Install new software In the install window select "All Available Sites" in the "Work with:" drop down. Install the plugins to help you with your java programming.

Clutch
+1  A: 

If you have trouble getting the Java plug-in into the prepackaged Eclipse PhP - as I have had in the past - then try returning to the eclipse.org site and downloading Eclipse Classic. Then use the plug-in manager (Help->Install New Software) to install both the Java and the PhP plugins.

Daniel Bingham
Can you debug both PHP and Java after doing it this way?I tried @Michael Borgwardt's solution only to find pdt is gone..
You can - however, you have to download an external debugger for the PDT. Apparently licensing prevents them from packaging a PhP debugger with eclipse.
Daniel Bingham
Honestly, I'd recommend just keeping two versions. I do. I put alot of effort into coercing the PDT, Java and CDT plugins into one Eclipse, but never really got them all to play nice with each other. I now keep three versions of Eclipse around - the pre-built package of each of those.
Daniel Bingham
+1  A: 
Michael Borgwardt
pdt is gone after I installed the java plugin...
@user198729: hm, that's strange. But I have to admit that I haven't used PDT
Michael Borgwardt
PDT doesn't tend to play nice with other Eclipse packages. You can can coerce it into the same Eclipse by starting from Eclipse classic. But even then I've found it to have issues.
Daniel Bingham