在Mac OSX上安装J2EE

时间:2014-11-25 09:47:37

标签: java eclipse java-ee

我很遗憾在Mac OSX 10.10上编译Eclipse中的Servlet。代码在这里并不重要 - 它是一个简单的HelloWorld示例。重点是,我需要为此安装J2EE,并且我很难搞清楚如何。

现在 - 我去了oracle的网页

http://www.oracle.com/technetwork/java/javaee/downloads/java-ee-sdk-7-downloads-1956236.html

并下载了.zip文件。原来是某种名为Glassfish的应用服务器。我不需要这个。我不想要这个。 (我想在Jetty上部署我的应用程序)无论如何。但是J2EE在哪里?

在文档中读取

To Install the Software

The following procedure describes how to install the SDK distributions using the ZIP file.

Download the distribution file for your platform from the Java EE 7 SDK Downloads page.

Navigate to the directory where you downloaded the file.

Unzip the file.

Solaris, Linux, and Mac OS X systems:   unzip zip-file-name

Windows systems: Unzip using your favorite file compression utility.

The Java EE 7 SDK Update 1 or Java EE 7 Web Profile SDK Update 1 is extracted into a new glassfish4 directory under your current directory.

几乎就是这样:http://www.oracle.com/technetwork/java/javaee/documentation/javaee7sdk-install-1957708.html

是的 - 内容看起来像一堆例子,这个glassfish-server-thingy和一些文档。

现在我如何从这里得到Eclipse编译HttpServlet - 类???用Google搜索了一个小时 - 没有任何帮助:(

0 个答案:

没有答案
相关问题