Installing SOA Suite 12c

Installing Oracle SOA Suite 12c – Part 2: Java SE Development Kit 8 – JDK

Continuing our installation process of Oracle SOA Suite 12c, in this post we will install JDK package

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:

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

Imagem Blog UansCarvalho

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

Imagem Blog UansCarvalho

If you have more than one version of Java installed may appear the following message:

Imagem Blog UansCarvalho

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

Imagem Blog UansCarvalho

Hugs and see you soon

/:-D

 

 

Criei este Blog destinado a desenvolvedores e interessados na Tecnologia Oracle SOA Suite, minha idéia é que no futuro ele sirva de referência para Analistas e Desenvolvedores desde aprendizes a especialistas. Já existem alguns Posts interessantes que abordam um pouco do meu dia a dia, no passar do tempo irei alimentar este Blog com o máximo de informações possíveis, por isso peço por gentileza aos interessados e afins que caso tenham alguma dúvida, sugestão ou crítica que me digam para que eu possa da melhor forma suprir as expectativas e na medida do possível sanar todas as duvidas que vierem a surgir ou até mesmo criar novos Posts abordando algum tópico que venha a ser relevante para todos os interessados. Obrigado Uans Carvalho

Leave a Reply

Your email address will not be published. Required fields are marked *