Git Product home page Git Product logo

oracle-java's Introduction

oracle-java

The Oracle JDK installer for openSUSE Linux

Compatability

openSUSE: 12.3, 13.1, 42.2

Oracle Java: 1.7, 1.8

Download the JDK tar.gz from Oracle website

http://www.oracle.com/technetwork/java/javase/downloads/index.html

Download the jdk installer script

$ wget https://raw.github.com/jeffery/oracle-java/master/install-jdk.sh

Run the script as root user

pointing it to the downloaded tar.gz archive

$ sudo bash install-jdk.sh ~/Downloads/jdk-7u17-linux-x64.tar.gz

Update the system-wide Java

Java application launcher:

$ sudo /usr/sbin/update-alternatives --config java

Java compiler:

$ sudo /usr/sbin/update-alternatives --config javac

Web browser plug-in:

$ sudo /usr/sbin/update-alternatives --config javaplugin

For each of the above options select the alternatives which are installed in jdk_Oracle folder

Verify the new version is installed

$ java -version
java version "1.7.0_17"
Java(TM) SE Runtime Environment (build 1.7.0_17-b02)
Java HotSpot(TM) 64-Bit Server VM (build 23.7-b01, mixed mode)

Bitdeli Badge

oracle-java's People

Contributors

jeffery avatar cschroedl-gov avatar bitdeli-chef avatar gilbertoca avatar

Stargazers

 avatar Dan Tovarnak avatar Zhou avatar Chris Coutinho avatar Carl Schroedl avatar GT avatar Ivan Bonkin avatar Alishams Hassam avatar  avatar Nathan Mkaya avatar Angus H. avatar Zhao Wen Yuan avatar Nathan Jensen avatar Henrique Meira avatar Andrés Javier Ochoa Salazar avatar Andrew avatar Radu Helstern avatar  avatar A.K. avatar Kshitij Sobti avatar Luke, JunYuan Yan avatar  avatar  avatar Misha Komarovskiy avatar  avatar Dave Raymond avatar Achim Herwig avatar Mariusz Fik avatar Farly FD avatar

Watchers

Mariusz Fik avatar  avatar Henrique Meira avatar Nathan Mkaya avatar James Cloos avatar Soumyajyoti Haldar avatar  avatar  avatar Dave Raymond avatar Anton Danilov avatar

oracle-java's Issues

error: alternative idlj can't be slave of javac: it is a slave of java

[13:59] gilbertoca@linux-s6k1:Downloads $ sudo bash ../tmp/git_working_copy/oracle-java/install-jdk.sh jdk-8u152-linux-x64.tar.gz 
.
.
.
jdk1.8.0_152/jre/lib/fontconfig.SuSE.11.bfc
jdk1.8.0_152/jre/COPYRIGHT
jdk1.8.0_152/jre/THIRDPARTYLICENSEREADME-JAVAFX.txt
jdk1.8.0_152/jre/Welcome.html
jdk1.8.0_152/jre/README
jdk1.8.0_152/README.html
update-alternatives: error: alternative idlj can't be slave of javac: it is a slave of java
Failed updating Compiler alternatives

OS

[14:02] gilbertoca@linux-s6k1:Downloads $ cat /etc/os-release 
NAME="openSUSE Leap"
VERSION="42.3"
ID=opensuse
ID_LIKE="suse"
VERSION_ID="42.3"
PRETTY_NAME="openSUSE Leap 42.3"
ANSI_COLOR="0;32"
CPE_NAME="cpe:/o:opensuse:leap:42.3"
BUG_REPORT_URL="https://bugs.opensuse.org"
HOME_URL="https://www.opensuse.org/"

[14:02] gilbertoca@linux-s6k1:Downloads $ sudo update-alternatives --list javac
[sudo] senha para root: 
/usr/lib64/jvm/java-1.8.0-openjdk/bin/javac
/usr/lib64/jvm/java-9-openjdk/bin/javac

[14:14] gilbertoca@linux-s6k1:Downloads $ sudo update-alternatives --list java
/usr/lib64/jdk_Oracle/bin/java
/usr/lib64/jvm/jre-1.8.0-openjdk/bin/java
/usr/lib64/jvm/jre-9-openjdk/bin/java
[14:14] gilbertoca@linux-s6k1:Downloads $ 

I'm investigating what could it be.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.