These installation instructions describe how to install Java Platform, Enterprise Edition 6 SDK Update 2 and Java Platform, Enterprise Edition 6 Web Profile SDK Update 2. 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 2 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:
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.
For a summary of supported platforms and the hardware and software requirements for this release, see the Java EE 6 SDK Update 2 Release Notes. Ensure that your system meets these requirements.
Java EE 6 SDK Update 2 distributions require JDK 6. The minimum version of the JDK that is required for Java EE 6 SDK Update 2 distributions is 1.6.0_22.
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. If necessary, obtain the required JDK version from the Mac OS X Updates site.
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 Installation Guide for detailed instructions.
The following resources will help you get started with GlassFish Server Open Source Edition and make the most of its capabilities.
/samples/javaee6. See the
index.htmlfile in that location for more information about the samples.
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 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 -efcommand and terminate the processes using the
To Uninstall the Software