The installation will be done on Ubuntu Linux 64bit version: 16:04, the minimum hardware and software for Oracle SOA Suite 12c installation can be found here: http://docs.oracle.com/html/E18558_01/fusion_requirements.htm
The facility is divided into parts as follows, see the link each to see the other Parties:
- Part 1: Oracle Database XE 11g
- Part 2: Java SE Development Kit 8 – JDK
- Part 3: SOA Suite 12.2.1.2.0
- Part 4: Repository Creation Utility (RCU)
- Part 5: SOA Developer Domain
- Part 6: Configuring Domain
- Part 7: Oracle JDeveloper 12.2.1.2.0
We now run only one sequence of commands in the terminal and see how this way is easy to install our Java 8 😉
- In Prompt run the following commands:
Here we will install our JDK in the /app but if you want to install in some different folder, change now and do not forget to change this folder in the other commands that execute.
cd /opt/
This will download our file required for installation:
sudo wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" "http://download.oracle.com/otn-pub/java/jdk/8u66-b17/jdk-8u66-linux-x64.tar.gz"
Now run the following command to uncompress the file:
sudo tar xzf jdk-8u66-linux-x64.tar.gz
Run the following command to remove the tar.gz file as this file is no longer needed
sudo rm jdk-8u66-linux-x64.tar.gz
See the jdk1.8.0_66 folder in your folder was created /opt
Perform the sequence of commands:
cd /opt/jdk1.8.0_66/
sudo update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_66/bin/java 2
sudo update-alternatives --config java
After the update-alternatives –config java command may appear the message below if you have no version of Java installed, this message is normal and you can proceed peacefully
If you have more than one version of Java installed may appear the following message:
Then enter the corresponding number the version installed in my case is the 4 and press ENTER
Now run the sequence of commands:
cd /opt/jdk1.8.0_66/
sudo update-alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_66/bin/jar 2
sudo update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_66/bin/javac 2
sudo update-alternatives --set jar /opt/jdk1.8.0_66/bin/jar
sudo update-alternatives --set javac /opt/jdk1.8.0_66/bin/javac
Then run the following commands to we remove the environment variables:
cd /opt/jdk1.8.0_66/
export JAVA_HOME=/opt/jdk1.8.0_66
export JRE_HOME=/opt/jdk1.8.0_66/jre
export PATH=$PATH:/opt/jdk1.8.0_66/bin:/opt/jdk1.8.0_66/jre/bin
To test the performance of your java run the following command:
java -version
Hugs and see you soon
/:-D