Install Java 8 on SLES 11.3

Problem

  • You do not get an update for Java 1.8 on a SLES 11.x

Solution

Download the corresponding rpm from the official Oracle site.

Open the terminal (replace XX with your version):

su -c “zypper jdk-8uXX-linux-x64.rpm”

Check if it was successful:

java -version

You can switch between different java versions with:

su -c “update-alternatives –config java”

Fin

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s