This article illustrates how to install JAVA SDK 8.0 on WebSphere Application Server V8.5.5 on HP-UX 11.31 machine. If you want to install the JAVA SDK 8.0 then first you need to apply the minimum fix pack 9. Here I have applied the fix pack 12 on my WAS ND 8.5.5.0.
Prerequisites
Operating System
AIX: AIX 6.1 TL7, AIX 7.1 TL3
HP-UX IA64: HP-UX 11i v3 (11.31)
IBM i: IBM i V7R1
Linux: RedHat Enterprise Linux 6, RedHat Enterprise Linux 7, SLES 11.1 (SP1), SLES 12, Ubuntu 12.04 LTS, Ubuntu 14.04 LTS, Ubuntu 16.04 LTS
Windows: Windows 7 service pack 1, Windows 8 (not Metro), Windows Server 2012
Solaris: Solaris 11
z/OS: z/OS 1.13, z/OS 2.1, z/OS 2.2
WebSphere Application Server ND 8.5.5 Fix Pack
Minimum fix pack levels by Java SE version. A two-column table that lists the Java SE version and the minimum product fix pack level that is required to install it.
Java SE version | Minimum fix pack level |
---|---|
Java SE 8.0 | 8.5.5.9 |
Java SE 7.1 | 8.5.5.2 |
Java SE 7.0 | 8.5.0.0 |
Click here for more details
Check the Installed JAVA SDKs
Use the below command to list all the versions of JAVA SDK installed on your server. There may be only one or maybe more. WAS 8.5.5.0 comes with JAVA SDK 6.0 i.e. 1.6.
# cd /opt/IBM/WebSphere/AppServer/bin # # ./managesdk.sh -listAvailable CWSDK1003I: Available SDKs : CWSDK1005I: SDK name: 1.6_64 CWSDK1001I: Successfully performed the requested managesdk task. #
Check the Installed Version of WAS ND
# /opt/IBM/WebSphere/AppServer/bin/versionInfo.sh WVER0010I: Copyright (c) IBM Corporation 2002, 2012; All rights reserved. WVER0012I: VersionInfo reporter version 1.15.1.48, dated 2/8/12 -------------------------------------------------------------------------------- IBM WebSphere Product Installation Status Report -------------------------------------------------------------------------------- Report at date and time April 25, 2018 12:59:31 PM IST Installation -------------------------------------------------------------------------------- Product Directory /opt/IBM/WebSphere/AppServer Version Directory /opt/IBM/WebSphere/AppServer/properties/version DTD Directory /opt/IBM/WebSphere/AppServer/properties/version/dtd Log Directory /var/ibm/InstallationManager/logs Product List -------------------------------------------------------------------------------- ND installed Installed Product -------------------------------------------------------------------------------- Name IBM WebSphere Application Server Network Deployment Version 8.5.5.0 ID ND Build Level gm1319.01 Build Date 5/14/13 Package com.ibm.websphere.ND.v85_8.5.5000.20130514_1044 Architecture Itanium (64 bit) Installed Features IBM 64-bit WebSphere SDK for Java WebSphere Application Server Full Profile EJBDeploy tool for pre-EJB 3.0 modules Embeddable EJB container Stand-alone thin clients and resource adapters -------------------------------------------------------------------------------- End Installation Status Report -------------------------------------------------------------------------------- #
As shown above, the installed version of the WebSphere Application Server ND 8.5.5.0 so first you need to apply the WAS fix pack (The minimum Fix pack for Java SE 8.0 should be 8.5.5.9).
Follow the process given in the below link to apply a fix pack on WAS ND 8.5.5.0
- Install WebSphere Application Server V8.5.5 Fix Pack 12 on HP-UX 11.31
Download the JAVA SDK 8.0 from IBM Fix Central
Click on the below link to download the JAVA SDK 8.0 for WebSphere Application Server ND 8.5.5.11
Click on the below link to download the JAVA SDK 8.0 for WebSphere Application Server ND 8.5.5.12
Copy the downloaded JAVA SDK 8.0 on the server and unzip it
Go to location/directory on the server and list the files related to JAVA SDK 8.0
# pwd
/was_javasdk8.0
# ll *.zip -rw-r--r-- 1 root sys 775042966 Feb 23 17:43 8.0.3.20-WS-IBMWASJAVA-part1.zip -rw-r--r-- 1 root sys 1823712638 Feb 23 19:23 8.0.3.20-WS-IBMWASJAVA-part2.zip #
Find the unzip command
# whereis unzip unzip: /usr/local/bin/unzip /usr/local/man/man1/unzip.1 #
Now use the unzip command to unzip the zipped files.
# /usr/local/bin/unzip /usr/local/bin/unzip 8.0.3.20-WS-IBMWASJAVA-part1.zip # /usr/local/bin/unzip /usr/local/bin/unzip 8.0.3.20-WS-IBMWASJAVA-part2.zip
List the files after unzipping
# ll total 5075856 -rw-r--r-- 1 root sys 775042966 Feb 23 17:43 8.0.3.20-WS-IBMWASJAVA-part1.zip -rw-r--r-- 1 root sys 1823712638 Feb 23 19:23 8.0.3.20-WS-IBMWASJAVA-part2.zip drwxr-xr-x 2 root sys 8192 Dec 7 2016 Offerings drwxr-xr-x 3 root sys 96 Dec 7 2016 atoc drwxr-xr-x 2 root sys 8192 Dec 7 2016 files drwxr-xr-x 2 root sys 8192 Dec 7 2016 native drwxr-xr-x 2 root sys 8192 Dec 7 2016 plugins -rw-r--r-- 1 root sys 74 Dec 7 2016 repository.config -rw-r--r-- 1 root sys 32544 Dec 7 2016 repository.xml #
List Available Packages JAVA SDK 8.0
As shown below, use imcl command to list all available packages with the JAVA SDK 8.0. Package com.ibm.websphere.IBMJAVA.v80_8.0.3020.20161124_1304 is for WAS ND 8.5.5.12
# cd /opt/IBM/InstallationManager/eclipse/tools/
# ./imcl listAvailablePackages -repositories /was_javasdk8.0/repository.config com.ibm.websphere.IBMJAVA.v80_8.0.3020.20161124_1304 com.ibm.websphere.liberty.IBMJAVA.v80_8.0.3020.20161124_1304 #
Stop the Deployment Manager and Nodes
Before applying the fix pack stop the Nodes and Deployment Manager. Fix pack will not be applied if Dmgr or any Node will be running. Use the below command to stop the Nodes and Dmgr.
# /opt/IBM/WebSphere/AppServer/profiles/Profile01/bin/stopNode.sh ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/Profile01/logs/nodeagent/stopServer.log ADMU0128I: Starting tool with the Profile01 profile ADMU3100I: Reading configuration for server: nodeagent Realm/Cell Name: Username: wasadmin Password: ADMU3201I: Server stop request issued. Waiting for stop status. ADMU4000I: Server nodeagent stop completed. # /opt/IBM/WebSphere/AppServer/profiles/Profile02/bin/stopNode.sh ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/Profile02/logs/nodeagent/stopServer.log ADMU0128I: Starting tool with the Profile02 profile ADMU3100I: Reading configuration for server: nodeagent Realm/Cell Name: Username: wasadmin Password: ADMU3201I: Server stop request issued. Waiting for stop status. ADMU4000I: Server nodeagent stop completed. # /opt/IBM/WebSphere/AppServer/profiles/DeploymentManager/bin/stopManager.sh ADMU0116I: Tool information is being logged in file /opt/IBM/WebSphere/AppServer/profiles/DeploymentManager/logs/dmgr/stopServer.log ADMU0128I: Starting tool with the DeploymentManager profile ADMU3100I: Reading configuration for server: dmgr Realm/Cell Name: Username: wasadmin Password: ADMU3201I: Server stop request issued. Waiting for stop status. ADMU4000I: Server dmgr stop completed.
Install the JAVA SDK 8.0
Install the JAVA SDK 8.0 by using the imcl command through Installation Manager as shown below:
# ./imcl install com.ibm.websphere.IBMJAVA.v80_8.0.3020.20161124_1304 -repositories /was_javasdk8.0/repository.config -installationDirectory /opt/IBM/WebSphere/AppServer -acceptLicense -sP 25% 50% 75% 100% ------------------|------------------|------------------|------------------| ............................................................................ Installed com.ibm.websphere.IBMJAVA.v80_8.0.3020.20161124_1304 to the /opt/IBM/WebSphere/AppServer directory. #
Check and Verify the Installed JAVA SDK 8.0
After successful installation of JAVA SDK 8.0, check and verify the same using managesdk command.
# cd /opt/IBM/WebSphere/AppServer/bin # # ./managesdk.sh -listAvailable CWSDK1003I: Available SDKs : CWSDK1005I: SDK name: 1.6_64 CWSDK1005I: SDK name: 1.8_64 CWSDK1001I: Successfully performed the requested managesdk task. #
Migrating to JAVA SDK 8.0 from JAVA SDK 6.0 on WAS ND 8.5.5.x
Last Updated: Apr 30, 2018