These installation instructions describe how to install Java Platform, Enterprise Edition 6 SDK Update 4 and Java Platform, Enterprise Edition 6 Web Profile SDK Update 4. The following topics are discussed:
Solaris, Linux, and Mac OS X installations support root/superuser and non-root/standard user installations. For Windows installations, users should have Power User or Administrator access.
The following distributions are available and include the components listed:
Visit the Java EE 6 SDK Downloads page for more information about each distribution.
The functionality offered by The Java EE 6 SDK Update 4 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 |
|---|---|---|
pkg.oracle.com/javaeesdk/6/release/ |
This is the preferred repository. This repository will host all FCS Java EE SDK packages. | release.javaeesdk.oracle.com |
pkg.oracle.com/glassfish/v3/contrib/ |
This repository hosts all non-open source partner-contributed packages. | contrib.glassfish.oracle.com |
pkg.glassfish.org/v3/contrib/ |
This repository hosts open source third party-contributed packages (from partners, etc.). | contrib.glassfish.org |
The first of these, pkg.oracle.com/javaeesdk/6/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.
Requirements
For a summary of supported platforms and the hardware and software requirements for this release, see the Java EE 6 SDK Update 4 Release Notes. Ensure that your system meets these requirements.
Java EE 6 SDK Update 4 distributions require JDK 6 or JDK 7.
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.
For Mac OS X systems, the SDK uses the JDK that is part of the Macintosh operating system. However, OS X Lion does not provide a Java runtime by default. If necessary, obtain the required JDK version from the Apple Support Downloads site. (Search for the term "Java SE".)
To Install the Software
The following procedure describes how to perform a Typical installation of the SDK distributions using the GUI-based installation wizard. To perform a Custom installation or to install using the non-interactive silent mode, see the GlassFish Server Open Source Edition 3.1.2 Installation Guide for detailed instructions.
chmod +x ./ distribution-filenamesh ./ distribution-filename.exe installation file.Choose a Typical Installation for application development purposes or non-production use only. Choose a Custom Installation if you are deploying GlassFish Server in a production environment.
The remainder of this procedure describes the steps in the Typical Installation path. If you are performing a Custom Installation, skip the remainder of this procedure and follow the procedure explained in th "To Perform a Custom Installation" in the GlassFish Server Open Source Edition 3.1.2 Installation Guide.
/bin/updatetool command. The domain that was created by installation program is automatically started by the installer after the installation process completes.
The names of the installation log and summary files are timestamp- install.log and timestamp- install-summary.html. On Solaris, Linux, and Mac OS X systems, these files are generated in the $TMP directory. On Windows systems, these files are generated in the %TEMP% directory.
The following resources will help you get started with GlassFish Server Open Source Edition and make the most of its capabilities.
/glassfish /samples/javaee6. See the index.html file in that location for more information about the samples./glassfish /docs /api /index.html.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 3.1.2 Reference Manual in the product documentation ZIP file. To stop the Update Tool notifier process, use the updatetool --notifier --shutdown command, executed from install-dir
/bin . If Update Tool is installed, the notifier is running by default.
If orphaned processes remain, identify and terminate the processes as follows:
ps -ef command and terminate the processes using the kill command.To Uninstall the Software
chmod +x uninstall.sh./uninstall.shremove.log and timestamp- remove-summary.html. On Solaris, Linux, and Mac OS X systems, these files are generated in the $TMP directory. On Windows systems, these files are generated in the %TEMP% directory.