Results 1 to 5 of 5

Thread: Installing oracle jdk

  1. #1

    Default Installing oracle jdk

    Hi, I am attempting to install oracles JDK. I installed using this guides rpm instructions (https://en.opensuse.org/SDB:Installi...Oracle.27s_RPM).

    The JDK is not listed under the [java -version] command and Netbeans says there is no JDK installed.

    Here is my Konsole info to reflect that
    jacob@linux-pp6r:~> su
    Password:
    linux-pp6r:/home/jacob # cd /home/jacob/Downloads
    linux-pp6r:/home/jacob/Downloads # rpm -ivh jdk-8u101-linux-x64.rpm
    Preparing... ################################# [100%]
    package jdk1.8.0_101-2000:1.8.0_101-fcs.x86_64 is already installed
    linux-pp6r:/home/jacob/Downloads # java -version
    java version "1.8.0_101"
    Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
    Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
    linux-pp6r:/home/jacob/Downloads #

    Any ideas on why I am having this issue?

  2. #2
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,044

    Default Re: Installing oracle jdk

    On Mon, 19 Sep 2016 01:26:02 +0000, jls7884 wrote:

    > Hi, I am attempting to install oracles JDK. I installed using this
    > guides rpm instructions (http://tinyurl.com/pltmygw).
    >
    > The JDK is not listed under the [java -version] command and Netbeans
    > says there is no JDK installed.
    >
    > Here is my Konsole info to reflect that jacob@linux-pp6r:~> su Password:
    > linux-pp6r:/home/jacob # cd /home/jacob/Downloads
    > linux-pp6r:/home/jacob/Downloads # rpm -ivh jdk-8u101-linux-x64.rpm
    > Preparing... #################################
    > [100%]
    > package jdk1.8.0_101-2000:1.8.0_101-fcs.x86_64 is already installed
    > linux-pp6r:/home/jacob/Downloads # java -version java version
    > "1.8.0_101"
    > Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
    > Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
    > linux-pp6r:/home/jacob/Downloads #
    >
    > Any ideas on why I am having this issue?


    What is JAVA_HOME set to?



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

  3. #3

    Default Re: Installing oracle jdk

    JAVA_HOME=$JPATH

  4. #4

    Default Re: Installing oracle jdk

    My issue has been resolved. I dug up the location where the jdk was installed to and figured out that I needed to add the path to the netbeans.conf file.

  5. #5
    Join Date
    Jul 2008
    Location
    Seattle, WA
    Posts
    17,044

    Default Re: Installing oracle jdk

    On Mon, 19 Sep 2016 15:56:01 +0000, jls7884 wrote:

    > My issue has been resolved. I dug up the location where the jdk was
    > installed to and figured out that I needed to add the path to the
    > netbeans.conf file.


    Cool, glad you got it resolved. That JAVA_HOME value looks odd to me,
    but if $JPATH resolves OK, then that should work as well.

    Jim



    --
    Jim Henderson
    openSUSE Forums Administrator
    Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •