James Raitsev
James Raitsev

Reputation: 96371

Where to Download java-ee.jar?

Where does the Jar file come from? I expected it to be either a part of the JDK or Eclipse. That expectation proved to be wrong.

Upvotes: 48

Views: 95357

Answers (3)

nobody
nobody

Reputation: 223

if you want javaee-api-7.jar, use maven dependency

<dependency>
    <groupId>javax</groupId>
    <artifactId>javaee-api</artifactId>
    <version>7.0</version>
</dependency>

or you can download from here

Upvotes: 8

Pascal Thivent
Pascal Thivent

Reputation: 570285

Sun/Oracle is providing a java-ee.jar - which contains only the Java EE APIs and does not contain any method bodies - that you can use to compile against it (from the java.net maven repository):

If you want to execute some Java EE code, you'll need a Java EE application server, they provide an implementation of the Java EE APIs. For example, for Java EE 6, there is GlassFish.

Upvotes: 67

duffymo
duffymo

Reputation: 308733

Download Glassfish or JBOSS or another Java EE app server. They all have it.

Upvotes: 3

Related Questions