Enabling Java 8
Update IBM® WebSphere® Application Server to use Java 8. Complete this update on every WebSphere Application Server in the deployment.
About this task
IBM Connections™ requires Java 8, but WebSphere Application Server 8.5.5.10 comes with Java 6 installed so you must install and enable Java 8.
Restriction: If you have Connections Content Manager (CCM), skip this task because you
will update Java 6 to Java 8 at a later stage in the deployment process.
Procedure
- Download and extract the Java SDK 8 fix pack by completing the following steps.
- Download the fix pack for your operating system from IBM
Fix Central.
WebSphere Application Server 8.5.5 fix pack 10 does not include the Java SDK 8 fix pack, so you must download it from IBM Fix Central. This fix pack contains Java SDK 8.0.3.20.
- Extract the fix pack into a temporary location on the server.
- Download the fix pack for your operating system from IBM
Fix Central.
- Stop all Java processes on the server.
- Use IBM Installation Manager to install the Java SDK 8 fix pack by completing the following steps.
- Start Installation Manager.
- AIX® or Linux: Open a command window and change to the location where you installed Installation Manager. The default location is /opt/IBM/InstallationManager/eclipse.
Start Installation Manager by running the following command: ./launchpad.sh
- Windows: Click Start > All Programs > Installation Manager > Installation Manager.
- AIX® or Linux: Open a command window and change to the location where you installed Installation Manager. The default location is /opt/IBM/InstallationManager/eclipse.
- Set the repository location to point to the repository.config file for the
directory where you extracted the fix pack.
- In the Installation Manager window, click File > Preferences.
- On the Preferences page, click Repositories.
- On the Repositories page, click Add Repository.
- On the Add Repository page, click Browse.
- On the Select Repository page, browse to the location where you stored the extracted files for the fix pack and locate the repository.config file.
- Click the repository.config file to select it, and then click Apply.
- Click OK.
- Back on the Repositories page, click Check Search service repositories during installation and updates and then click OK.
- Back in the main Installation Manager window, click Install.
- Select IBM WebSphere SDK Java Technology Edition, select version 8, and then click Continue.
- Select the Java SDK 8.0.3.20 fix pack, and then click Next.
- Select IBM WebSphere Application Server Network Deployment 8.5.5, and then click Next.
- Accept the terms in the license agreements, and click Next.
- Select a language, and then click Next.
- Review the summary information, and click Install.
- At the end of the installation, click Finish.
- When the installation is complete, close Installation Manager by clicking File > Exit.
- Start Installation Manager.
- Verify that Java 8 is now available on the server by running the following command and making sure that the results include SDK name: 1.8_64.
- AIX or Linux: app_server_root/bin/managesdk.sh -listAvailable
- Windows: app_server_root\bin\managesdk.bat -listAvailable
- Switch the Java version to Java 8.
- Start the deployment manager.
- Deployment manager: enable Java 8.
- Run the following command to enable Java 8.
- AIX or Linux:
app_server_root/bin/managesdk.sh -enableProfile -profileName Dmgr_profile_name -sdkname 1.8_64
- Windows:
app_server_root\bin\managesdk.bat -enableProfile -profileName Dmgr_profile_name -sdkname 1.8_64
Note: If you see a response indicating that The sdk 1.8_64 is not available, restart the deployment and run the command again. - AIX or Linux:
- After Java 8 is successfully enabled, restart the deployment manager.
- Run the following command to enable Java 8.
- Node: enable Java 8.
- Make sure that the node agent is running, but the application server is stopped.
- Run the following command to enable Java 8.
- AIX or Linux:
app_server_root/bin/managesdk.sh -enableProfile -profileName AppServer_profile_name -sdkname 1.8_64
- Windows:
app_server_root\bin\managesdk.bat -enableProfile -profileName AppServer_profile_name -sdkname 1.8_64
Note: If you see a response indicating that The sdk 1.8_64 is not available, restart the node and run the command again. - AIX or Linux:
- After Java 8 is successfully enabled, restart the node.
- Repeat for every node.