Eclipse 中的 Java EE 视角

发布于 2024-12-12 09:20:42 字数 82 浏览 1 评论 0原文

我有标准版的 eclipse Galileo。现在我想在上面开发企业应用程序。知道如何获得 Java EE 视角吗?标准版如何安装Java EE工具?

I have Standard version of eclipse Galileo. Now I want to develop enterprise applications on it. Any idea how can I get Java EE perspective? How to install Java EE tools in the standard version?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

夜灵血窟げ 2024-12-19 09:20:42

我也有同样的问题。我首先使用 Ubuntu 软件中心安装了最新的 Eclipse 平台 Indigo,当我没有看到 JavaEE 透视图时,我以为我弄错了。我删除了它并安装了可从 eclipse.org 下载的 Java EE 版本 - 但仍然没有可用的 Java EE 视角。然后我阅读了上面(以及其他地方)有关安装 WTP 插件的建议。

我决定放弃以前安装的 Eclipse,因为我更喜欢通过普通的包管理系统安装所有内容。然后,在再次安装 Eclipse 后,通过 Ubuntu 软件中心(并且没有看到 Java EE 视角)...但我将通过一组说明来讲述剩下的故事:

  1. 安装 Eclipse。在Ubuntu中,你至少可以通过以下两种方式来做到这一点:
    • 进入Ubuntu软件中心,搜索eclipse,安装“可扩展工具平台和Java IDE”;或
    • 输入命令sudo apt-get install eclipse eclipse-cdt eclipse-emf eclipse-emf-examples eclipse-emf-sdk eclipse-jdt eclipse-pde eclipse-platform eclipse-platform-data eclipse-rcp eclipse- rse eclipse-xsd eclipse-xsd-sdk (这些是我在完成所有这些步骤后所拥有的;它们可能不是全部都是必要的,但是不会受伤)
  2. 打开 Eclipse,并提供一个目录用作工作区。
  3. 转到“帮助”-> “安装新软件...”。
  4. 在新对话框中的“使用:”下拉列表中,选择“Indigo - http:// download.eclipse.org/releases/indigoIndigo - http://download.eclipse.org/releases/indigo”。
  5. 单击“Web、XML、Java EE 和 OSGI 企业开发”左侧的复选框。
  6. 单击“下一步>”按钮。安装将开始。
  7. 该对话框现在将列出要安装的项目,并要求您确认安装。单击“下一步>”按钮。安装将完成。
  8. 现在,回到主窗口,在“窗口”-> “透视”,我仍然看不到“Java EE”——但它可能在“其他”选择下;我没有检查,既然我已经完成了这里描述的所有事情,那就可以找到它。
  9. 点击“文件”-> “新”-> “动态网络项目”。该选项的存在意味着您已成功安装 Web 开发工具。
  10. 配置项目。按“完成”后,Eclipse 会询问您是否要打开 Java EE 透视图。

顺便说一句,我提供的通过 apt-get 安装的一些 Eclipse 软件包可能是在 Eclipse 软件更新阶段安装的,因为我自己没有安装所有这些软件包。最重要的是 eclipse-platform、eclipse-platform-data、eclipse-pde 和eclipse-rcp。所有这些的描述是:

eclipse - Extensible Tool Platform and Java IDE
eclipse-cdt - C/C++ Development Tools for Eclipse
eclipse-emf - Eclipse Modeling Framework (EMF)
eclipse-emf-examples - Eclipse EMF/XSD examples
eclipse-emf-sdk - Eclipse Modeling Framework (EMF) - (Source/Documentation)
eclipse-jdt - Eclipse Java Development Tools (JDT)
eclipse-pde - Eclipse Plug-in Development Environment (PDE)
eclipse-platform - Eclipse platform without plug-ins to develop any language
eclipse-platform-data - Eclipse platform without plug-ins to develop any language (data)
eclipse-rcp - Eclipse Rich Client Platform (RCP)
eclipse-rse - Eclipse Remote System Explorer (RSE)
eclipse-xsd - XML Schema Definition (XSD) for Eclipse
eclipse-xsd-sdk -

I had the same problem. I installed the latest Eclipse platform, Indigo, first using the Ubuntu Software Center, and when I didn't see the JavaEE perspective, I though I'd gotten the wrong one. I deleted that and installed the Java EE version downloadable from eclipse.org -- but still no Java EE perspective available. Then I read the advice above (and elsewhere) about installing the WTP plugins.

I decided to blow away the previous installation of Eclipse, because I prefer installing everything through the normal package management system. Then, after having installed Eclipse again, through the Ubuntu Software Center (and not seeing the Java EE perspective)... but I'll tell the rest of the story as a set of instructions:

  1. Install Eclipse. In Ubuntu, you can do it at least in these two ways:
    • Go to the Ubuntu Software Center, search for eclipse, and install "Extensible Tool Platform and Java IDE"; or
    • Give the command sudo apt-get install eclipse eclipse-cdt eclipse-emf eclipse-emf-examples eclipse-emf-sdk eclipse-jdt eclipse-pde eclipse-platform eclipse-platform-data eclipse-rcp eclipse-rse eclipse-xsd eclipse-xsd-sdk (those are what I have after doing all these steps; they might not all be necessary, but can't hurt)
  2. Open Eclipse, and give a directory to use as a workspace.
  3. Go to "Help" -> "Install New Software...".
  4. In the new dialog, in the "Work with:" pull-down list, select "Indigo - http://download.eclipse.org/releases/indigoIndigo - http://download.eclipse.org/releases/indigo".
  5. Click the checkbox to the left of "Web, XML, Java EE and OSGI Enterprise Development".
  6. Click the "Next >" button. The installation will start.
  7. The dialog will now list the items to be installed, and ask you to confirm the installation. Click the "Next >" button. The installation will complete.
  8. Now, back in the main window, in "Window" -> "Perspective", I still could not see "Java EE" -- but it might have been under the "Other" selection; I didn't check, and that's where it can be found now that I've done everything described here.
  9. Click on "File" -> "New" -> "Dynamic Web Project". The existence of this selection means that you've successfully installed the web development tools.
  10. Configure the project. After you've pressed "Finish", Eclipse should ask you whether you want to open the Java EE perspective.

By the way, some of those Eclipse packages that I give for installing through apt-get might have been installed during the Eclipse software update phase, as I didn't install all of them by myself. The most important ones are eclipse, eclipse-platform, eclipse-platform-data, eclipse-pde, and eclipse-rcp. The descriptions of all of them are:

eclipse - Extensible Tool Platform and Java IDE
eclipse-cdt - C/C++ Development Tools for Eclipse
eclipse-emf - Eclipse Modeling Framework (EMF)
eclipse-emf-examples - Eclipse EMF/XSD examples
eclipse-emf-sdk - Eclipse Modeling Framework (EMF) - (Source/Documentation)
eclipse-jdt - Eclipse Java Development Tools (JDT)
eclipse-pde - Eclipse Plug-in Development Environment (PDE)
eclipse-platform - Eclipse platform without plug-ins to develop any language
eclipse-platform-data - Eclipse platform without plug-ins to develop any language (data)
eclipse-rcp - Eclipse Rich Client Platform (RCP)
eclipse-rse - Eclipse Remote System Explorer (RSE)
eclipse-xsd - XML Schema Definition (XSD) for Eclipse
eclipse-xsd-sdk -
一瞬间的火花 2024-12-19 09:20:42

标准版可以通过安装WTP等不同插件升级到J2EE版。
您是否尝试查看 Galileo 的更新站点?

The standard edition can be upgraded to J2EE edition by installing the different plug-ins like WTP and so on.
Did you try to look at the update site for Galileo?

梨涡 2024-12-19 09:20:42

最好下载“for Java EE Developers”最新版本的 eclipse。
它还包括标准版本。

It's better to download newest version of eclipse "for Java EE Developers".
It also includes standard version.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文