System Admins and Developers
All System Admin Articles
Sriram Natarajan, with contributions from Marina Sum, July 2008
OpenSolaris 2008.05 Operating System (henceforth, OpenSolaris OS) includes the Java 6 Platform, Standard Edition (Java 6 SE Platform). However, Sun's highly scalable Sun Java System Web Server 7.0 (henceforth, Web Server) is bundled with the Java 5 SE Platform. An attempt to install Web Server on the OpenSolaris OS will result in an error message that reports the absence of the compatible libraries needed within the OS to support the bundled platform. See Figure 1.
Figure 1: Error Message on Installation of Web Server on OpenSolaris OS
(Click to Enlarge)
Because Web Server does support the Java 6 SE Platform, go ahead and upgrade. Conveniently, the Web Server installer enables you to adopt the Java 6 SE Platform runtime in the OpenSolaris OS. Only a few steps are involved. Read on for the details.
% pfexec pkg install java-dev
/tmp. Type:
% cd /tmp
% gunzip -c
tar-ball-name | tar xvf -
% ./setup --javahome /usr/jdk/latest
Figure 2: Screen for Specifying the Installation Type
(Click to Enlarge)
Figure 3: Screen for Specifying the Latest Java SE SDK
(Click to Enlarge)
Forthcoming for the OpenSolaris OS repository is a package for the Web Server Image Packing System (IPS). Installing Web Server on that OS should then be much simpler.
If you have questions or comments, please post them on the Web Server Forum.
Sriram Natarajan, a member of the Sun Java System Web Server development team, has been working on Web Server 7 releases since 2004. Before that, he worked on the development of Sun Java System Active Server Pages. Sriram's blog addresses a variety of technical topics.
Marina Sum is a staff writer for Sun Developer Network. She has been writing for Sun since 1989, mostly in the technical arena. Marina blogs on Sun products, technologies, events, publications, and unsung heroes.
Here are additional resources:
Unless otherwise licensed, code in all technical manuals herein (including articles, FAQs, samples) is provided under this License.