Skip to Content
Technical Articles

Linux Part 1: Install Java

Hi dears,

This is the part 1 of the Main Linux Agenda to become a SAP Consultant expert enjoying Linux features in our machines or laptops.

Context: for SAP consultants this is an important topic, because when we install eclipse, netbeans, SAP Netweaver Developer Studio, even you agree that you need eclipse to implement some SAP HANA artifacts or we use SAP PI Enterprise Service Repository and Integration Directory, we riquire to be aware of this important topic. Etc…

 

Install Java

a) Download your JDK from Oracle: LINK

No alt text provided for this image

B) Install your JDK before to install your SAP Logon: LINK


sudo apt-get update && sudo apt-get remove openjdk*

sudo mkdir /opt/java

cd /opt/java

sudo tar zxvf ~/Downloads/jdk-8u60-linux-x64.tar.gz

sudo update-alternatives --install /usr/bin/java java /opt/java/jdk1.8.0_60/bin/java 1

sudo update-alternatives --set java /opt/java/jdk1.8.0_60/bin/java

java -version
No alt text provided for this image
No alt text provided for this image

 

@Note: this solved one issue about update-alternatives: LINK

 

Thank you for your attention and if you have more information to complement this knowledge, please share it into the commentaries section!!!…

Copyright: 2004193712021

 

Be the first to leave a comment
You must be Logged on to comment or reply to a post.