如何将 Eclipse 用于 Java 和 PHP?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2493085/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to use Eclipse for both Java and PHP?
提问by user198729
There are Eclipse IDE for Java EE Developers (190 MB)and Eclipse for PHP Developers (139 MB)
有适用于 Java EE 开发人员的 Eclipse IDE (190 MB)和适用于 PHP 开发人员的 Eclipse (139 MB)
I've already installed Eclipse for PHP.
我已经为 PHP 安装了 Eclipse。
I don't want to install another eclipse for Java.
我不想为 Java 安装另一个 Eclipse。
Is it possible to use the same Eclipse for both Java and PHP?
是否可以对 Java 和 PHP 使用相同的 Eclipse?
EDIT
编辑
I decide to install another Eclipse for Java finally....
我最终决定为 Java 安装另一个 Eclipse....
回答by Michael Borgwardt
- Select Help -> Install new Software
- Select http://download.eclipse.org/technology/epp/packages/galileoas 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
- 选择帮助 -> 安装新软件
- 选择http://download.eclipse.org/technology/epp/packages/galileo作为更新站点 URL(如果缺少则添加它)
- 选择“EPP Java Package”和(如果你想编写网络应用程序)“Java EE IDE Feature”进行安装
回答by Daniel Bingham
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.
如果您在将 Java 插件安装到预先打包的 Eclipse PHP 中时遇到问题(就像我过去遇到的那样),请尝试返回 eclipse.org 站点并下载 Eclipse Classic。然后使用插件管理器(Help->Install New Software)安装 Java 和 PHP 插件。
回答by Debu Shinobi
Thisanswer 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
所以在你的 Eclipse 中:
点击帮助->安装新软件
在“使用”字段中输入“ http://download.eclipse.org/tools/pdt/updates/release”
按 Enter
您应该在“PHP 开发工具”中看到选中复选框
点击“下一步”,按照提示完成安装
回答by jpabluz
Yes it is possible, just install the Java Plug-In
是的,可以,只需安装 Java Plug-In
http://www.eclipseplugincentral.com/http://www.eclipse.org/callisto/java.php
http://www.eclipseplugincentral.com/ http://www.eclipse.org/callisto/java.php
回答by Clutch
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.
是的,它是进入帮助->安装新软件在安装窗口中,在“使用:”下拉列表中选择“所有可用站点”。安装插件以帮助您进行 Java 编程。