Introduction
In order to utilise support for the latest security ciphers we recommend upgrading to Java 1.8.
Step 1. What JDK version is installed?
The output from java -version will display the currently installed java version.
# # java -version
java version "1.7.0_60"
Java(TM) SE Runtime Environment (build 1.7.0_60-b19)
Java HotSpot(TM) 64-Bit Server VM (build 24.60-b09, mixed mode)
Step 2. Check the Java location
# which java
/opt/java/bin/java
Step 3. Download Latest Oracle Java JDK
Note that at on the publish date of this article CBA software has been verified with Java 8 which can be obtained from the Oracle website http://www.oracle.com/technetwork/pt/java/javase/downloads/jdk8-downloads-2133151.html. Note that the 64bit linux version is required - jdk-8u131-linux-x64.*. Note that this article will install using the rpm. The rpm can also be downloaded using wget as follows:
#wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" -O jdk-8u162-linux-x64.rpm "http://download.oracle.com/otn-pub/java/jdk/8u162-b12/0da788060d494f5095bf8624735fa2f1/jdk-8u162-linux-x64.rpm
This will download the rpm into the current folder.
Step 4. Install the latest Java
# rpm -ivvvh jdk-8u162-linux-x64.rpm
Step 5. Confirm new java location
# which java
/usr/bin/java
Step 6. Reload root profile & confirm java version
# . .bash_profile
# java -version
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.151-b12, mixed mode)
Step 7. Confirm FAS and FCSDK use new 1.8 java
e.g. /etc/fas.conf
JBOSS_CONFIG=domain.xml
JBOSS_USER=root
JBOSS_USER_GROUP=root
JBOSS_ADMIN=root
JBOSS_ADMIN_GROUP=root
JBOSS_HOME=/opt/fusion/FAS-2.5.5
JBOSS_CONSOLE_LOG=${JBOSS_HOME}/domain/log/console.log
SNMPAGENT_HOME=${JBOSS_HOME}/snmp-agent
JAVA_HOME=/usr/java/latest
e.g. /etc/fcsdk.conf
FCSDK_HOME=/opt/fusion/FAS-2.5.5
CLI_HOME=/opt/fusion/cli
PACKS=COMMON,GATEWAY,GATEWAY.RUNTIME,GATEWAY.REST,GATEWAY.WEB_ADMIN,GATEWAY.WEB_ADMIN.UNDEPLOY,GATEWAY.REST.UNDEPLOY,GATEWAY.RUNTIME.UNDEPLOY,GATEWAY.RUNTIME.DEPLOY,GATEWAY.REST.DEPLOY,GATEWAY.WEB_ADMIN.DEPLOY,GATEWAY.CLI_ADMIN,CORE_SDK,CORE_SDK.SAMPLE.SOURCE,CORE_SDK.JAVASCRIPT,MEDIABROKER,SAMPLE_APP,SAMPLE_APP.UNDEPLOY,SAMPLE_APP.DEPLOY,SAMPLE_APP.RECONFIGURE_GATEWAY
FCSDK_USER=root
FCSDK_USER_GROUP=root
FCSDK_ADMIN=root
FCSDK_ADMIN_GROUP=root
RTPPROXY_HOME=${FCSDK_HOME}/media_broker
JAVA_HOME=/usr/java/latest/
This article is closed to comments if you need any help or have comments contact Customer Support
Comments
0 comments
Please sign in to leave a comment.