问题
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....
回答1:
- Select Help -> Install new Software
- Select http://download.eclipse.org/technology/epp/packages/galileo as update site URL (or add it if it's missing)
- Select "EPP Java Package" and (if you want to write web apps) "Java EE IDE Feature" to install
回答2:
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.
回答3:
Yes it is possible, just install the Java Plug-In
http://www.eclipseplugincentral.com/ http://www.eclipse.org/callisto/java.php
回答4:
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.
回答5:
Do another installation so you have both as separate installs.
回答6:
This answer explains it all.
So in your Eclipse:
click Help->Install New Software
In the "Work With" field put "http://download.eclipse.org/tools/pdt/updates/release"
Press Enter
You should see in "PHP Development Tools" check the checkbox
Click "Next" and follow the instruction to complete the installation
来源:https://stackoverflow.com/questions/2493085/how-to-use-eclipse-for-both-java-and-php