如何将 Eclipse Classic 升级到 Java EE?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5849294/
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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 20:09:17  来源:igfitidea点击:

How do I upgrade Eclipse Classic to Java EE?

eclipsejakarta-eeeclipse-plugin

提问by Ads

I want to develop HTML5 websites. I have already installed Java for Android development. I have Eclipse Classic 3.6 installed on my machine. Now I wish to have Java EE on the same machine. Is it possible? If so, let me know how to upgrade Eclipse Classic 3.6 to the Java EE development environment.

我想开发 HTML5 网站。我已经为 Android 开发安装了 Java。我的机器上安装了 Eclipse Classic 3.6。现在我希望在同一台机器上安装 Java EE。是否可以?如果是这样,请告诉我如何将 Eclipse Classic 3.6 升级到 Java EE 开发环境。

采纳答案by Eugene Ryzhikov

What you need is Web Tools Platformadded to your Eclipse installation. The info on how to accomplish this can be found here

您需要的是将Web Tools Platform添加到您的 Eclipse 安装中。可以在此处找到有关如何完成此操作的信息

回答by zozzo

Eclipse menu Help - "Install new software" Then in the work with : "Indigo - http://download.eclipse.org/releases/indigo" (or your eclipse version)

Eclipse 菜单帮助 - “安装新软件” 然后在工作中使用:“Indigo - http://download.eclipse.org/releases/indigo”(或你的 eclipse 版本)

Then choose : Web, XML, Java EE and OSGi ... Then select: Eclipse Java EE Developer Tools

然后选择:Web, XML, Java EE and OSGi ... 然后选择:Eclipse Java EE Developer Tools

continue the update and I think that's it :-)

继续更新,我想就是这样:-)

回答by Matthew Cordaro

According to the Eclipse's site the following packages are added to the Java EE edition:

根据Eclipse的站点,Java EE 版本中添加了以下包:

  • Data Tools Platform
  • Java EE Developer Tools
  • JavaScript Development Tools
  • Maven Integration for Eclipse
  • Mylyn Task List
  • Remote System Explorer
  • XML Editors and Tools
  • 数据工具平台
  • Java EE 开发人员工具
  • JavaScript 开发工具
  • Eclipse 的 Maven 集成
  • Mylyn 任务列表
  • 远程系统资源管理器
  • XML 编辑器和工具

To add the packages:

添加包:

  1. Select Help> Install New Software.
  2. Under Work withselect your eclipse's version name. (i.e.: Luna, Kepler, Juno, Indigo, Helios, etc.)
  3. Filter by entering the first package's name where it says type filter text.
  4. Put a check mark next to the package.
  5. Repeat for each package.
  6. Select Next >to review the selected packages.
  7. Select Next >to accept the selected packages.
  8. Accept the terms of any licence agreements and click Finish.
  1. 选择帮助>安装新软件
  2. Work with 下选择您的 eclipse 的版本名称。(即:Luna、Kepler、Juno、Indigo、Helios 等)
  3. 通过输入第一个包的名称进行过滤,其中显示type filter text
  4. 在包裹旁边打勾。
  5. 对每个包重复此操作。
  6. 选择下一步 >以查看选定的包。
  7. 选择Next >以接受选定的包。
  8. 接受任何许可协议的条款,然后单击“完成”

回答by akac

Just download Eclipse for Java EE; merge your Eclipse classic folder with contents of downloaded archive. if you do this, you should be able to use in your Eclipse wth the features from Java EE version.

只需下载 Java EE 的 Eclipse;将 Eclipse 经典文件夹与下载的存档内容合并。如果您这样做,您应该能够在您的 Eclipse 中使用 Java EE 版本的功能。