Java Platform, Enterprise Edition 7 SDK Update 1 - Installation Instructions

 

These installation instructions describe how to install Java Platform, Enterprise Edition 7 SDK Update 1 and Java Platform, Enterprise Edition 7 Web Profile SDK Update 1. The following topics are discussed:


Distributions and Their Components

The following distributions are available and include the components listed:

  • Java Platform, Enterprise Edition 7 (Java EE 7) SDK Update 1

    • GlassFish Server Open Source Edition 4.1
    • Your First Cup: An Introduction to the Java EE Platform
    • Java EE 7 Tutorial
    • Java EE 7 Samples
    • Java EE 7 API Documentation
       
  • Java Platform, Enterprise Edition 7 (Java EE 7) Web Profile SDK Update 1

    • GlassFish Server Open Source Edition 4.1 Web Profile
    • Your First Cup: An Introduction to the Java EE Platform
    • Java EE 7 Tutorial
    • Java EE 7 Samples
    • Java EE 7 API Documentation

Visit the Java EE 7 SDK Downloads page for more information about each distribution.

Preconfigured Repositories

The functionality offered by The Java EE 7 SDK is organized into OSGi modules, or bundles, that are available as components through the image packaging system (IPS). When you install the SDK, it is preconfigured to use several IPS repositories that together house the OSGi modules available in the SDK. These preconfigured repositories are:


Repository URL Description Authority

http://pkg.oracle.com/javaeesdk/7/release/code> This is the preferred repository. This repository hosts all FCS Java EE SDK packages. release.javaeesdk.oracle.com

http://pkg.oracle.com/javaeesdk/7/native/release/ This repository hosts platform-neutral FCS Java EE SDK packages that are shared by all platforms. Platform-specific packages reside in their own repositories, one for each platform. release.native.javaeesdk.oracle.com

The first of these, pkg.oracle.com/javaeesdk/7/release/, has its publisher designated as the preferred publisher, and so is treated specially by the IPS tools:

  • If an add-on component is available from the preferred publisher as well as from other publishers, the Update Tool GUI and the pkg CLI will list and install the component from the preferred publisher.

  • Once a component has been installed from the preferred publisher, the Update Tool, Software Update, and desktop notifier GUIs will look for updates to that component only from the preferred publisher.

Installing the Software

Requirements

Java EE 7 SDK distributions require JDK 7 Update 65 and above or JDK 8 Update 20 and above.

Ensure that the required JDK software is installed on your system and that the JAVA_HOME environment variable points to the JDK installation directory, not the Java Runtime Environment (JRE) software.

To Install the Software

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

  1. Download the distribution file for your platform from the Java EE 7 SDK Downloads page.
     
  2. Navigate to the directory where you downloaded the file.
     
  3. 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.

Next Steps and Resources

The following resources in the Java EE 7 SDK Update 1 and Java EE 7 Web Profile SDK Update 1 will help you get started with Java EE 7.

  • Your First Cup: An Introduction to the Java EE Platform provides a short tutorial for beginning Java EE programmers that shows how to develop a simple enterprise application from scratch. The sample application consists of four main components: a JAX-RS RESTful web service, an enterprise bean, a Java Persistence API entity, and a web application created with JavaServer Faces Facelets technology.

  • The Java EE 7 Tutorial is a guide to developing enterprise applications for GlassFish Server. The tutorial includes working examples and instructions for creating applications with new and updated Java EE 7 technologies, including Java API for WebSocket, Java API for JSON Processing, Batch Applications for the Java Platform, Concurrency Utilities for Java EE, Java Message Service, Java Servlets, JavaServer Faces, RESTful Web Services, Enterprise JavaBeans, Java Persistence API, Contexts and Dependency Injection for Java EE, and more. The tutorial is also available through Update Tool.

  • Java EE 7 Samples demonstrate Java EE 7 technologies and help you learn more about them. After installation, Samples are located in the install-dir/glassfish/samples/javaee7 directory. See the index.html file in that location for more information about the samples.

  • Java EE 7 API Documentation provides API reference documentation for the packages and related APIs that make up the Java EE 7 platform. This documentation is generated from the source code by the Javadoc tool. After installation, the bundled API documentation can be accessed from install-dir/glassfish/docs/api/index.html.

The following resources will help you get started with GlassFish Server Open Source Edition and make the most of its capabilities.

  • Quick Start Guide helps you become familiar with GlassFish Server Open Source Edition and explains how to perform basic tasks such as starting the server, accessing the Administration Console, and deploying a sample application. The guide pertains to both GlassFish Server Open Source Edition and GlassFish Server Open Source Edition Web Profile.

  • GlassFish Server Open Source Edition 4.1 Release Notes provide the latest information about GlassFish Server Open Source Edition, including what's new, known issues, and pointers to additional resources.

  • Product Documentation provides detailed information about GlassFish Server Open Source Edition 4.0 in a ZIP file that includes all of the product documentation in PDF format.

  • Update Tool enables you to install and update additional technologies and frameworks. Update Tool is included with GlassFish Server and can be activated and installed from the commandline by entering the updatetool command and following the prompts.

Uninstalling the Software

Before you uninstall the software, make sure you have stopped all domains and other related processes, including command prompts using the installation directory or its subdirectories, the Update Tool notifier process if present, and any applications using Java SE files.

To stop domains, use the asadmin stop-domain command. For more information about this command, see the GlassFish Server Open Source Edition 4.0 Reference Manual in the product documentation ZIP file.

If orphaned processes remain, identify and terminate the processes as follows:

  • Solaris, Linux, and Mac OS X systems:

    Use the ps -ef command and terminate the processes using the kill command.
  • Windows systems:

    Use the Task Manager and terminate the processes using the End Task or End Process buttons.

To Uninstall the Software

  1. Delete the installation directory.
     
Left Curve
Java SDKs and Tools
Right Curve
Left Curve
Java Resources
Right Curve
VTS OnDemand RHS Banner





Duke's Choice RHS Banner

JavaOne 2014 Replay banner