English 中文(简体)
Install Java EE 6
原标题:Install Java EE 6 on OS X Lion

我的SOS X狮工作站的Java Pfers申请表明,我已经安装了Java SE 6 v1.6.0_29-b11-402(32-64-bit版本)。 不幸的是,我只需要企业版上的附加特征。

A comment by Jesper in 如何在MacOS X上安装一个专门的支架?表明,我需要使用由 Apple果供应的 Java,而不是来自Oracle/Sun的 Java。 不幸的是, Apple果似乎提供了 Java6号企业版。

This leads me to ask a number of questions:

  1. Did I miss something? Does Apple offer an EE of Java 6?
  2. If 1 is true, how do I get it? Can it be installed side by side with the Java SE 6?
  3. If 1 is false, can a Oracle/Sun version be used? Is there a recommended installation location? I m guess that the /System/Library/Frameworks/JavaVM.framework/Versions/ folder is not recommended.
  4. The Oracle/Sun version seems to include a lot of extras (e.g. Glassfish) that I would prefer not to install. Can I install the core SDK w/o the extras? Will Tomcat 7 work as an alternative to Glassfish?

** 编辑。

这个问题是我张贴的另外一个问题的结果:,RESTful web service: java.lang.NullPointerExceptionservice.AbstractFacade.findAll 。 看来,这一具体错误是缺乏说明(无)的结果。 这一说明载于javax.ejb.* 的名称空间,该名称载于我不工作的JAR档案中。

因此,我得出结论,我需要Java 6号企业版(该版有缺失的JAR档案和其他附属档案)。 如果有办法确定什么。 JAR 档案缺失(网络7 似乎没有帮助) 我可能只是为该项目添加这一内容,并跳出EEsles。

最佳回答
问题回答

Java EE 6 is a spec, with some accompany API represented as interfaces. Java EE 6 in and of itself is not an implementation of those APIs. If you wish to use the Java EE 6 APIs you will need to avail your self of a compatible Java EE Application Server. Glassfish is the reference implementation of Java EE 6, however there are other servers as well that are compliant. JBoss is another popular option.

These install easily on Mac OS X.

http://www.oracle.com/technetwork/java/javaee/downloads/index.html 但是,除非你重新尝试开发一种意在使用多个集装箱的申请书,否则该申请本身并不特别有用。

你们通常想要做的是下载一个集装箱并与之发展起来。 e. 玻璃鱼(可与上链接)。 在Netbeans等国际民主和选举援助学会的支持下,这项任务可以变得更加容易。 你们可以下载一个已经包括玻璃鱼和Java EE预报器的Netbeans版本,并刚刚开始工作。 其他的民主选举学会/集装箱组合是可能的,通常有某种gin。

“Java 6 JDK/JRE”仍然来自 Apple果。 但是,他们把大多数法典转换到Oracle,而SOSX版本的JDK 7接近于释放身份,可能已经成熟,足以达到你的目的。 我最好的猜测是这样。





相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签