Results 1 to 9 of 9

Thread: install oracle java 8 on leap 42.1

  1. #1
    Join Date
    May 2011
    Location
    Czech Republic
    Posts
    29

    Default install oracle java 8 on leap 42.1

    Is there anybody who is able to install oracle java 8 on leap 42.1 (64-bit) from original Oracle RPM package?

    https://software.opensuse.org/package/java-1_8_0-sun does not work, too!

  2. #2
    Join Date
    May 2011
    Location
    Czech Republic
    Posts
    29

    Default Re: install oracle java 8 on leap 42.1

    https://forums.opensuse.org/showthre...-OpenSUSE-13-2 does not help, too!

    Why is so difficult to install this extremely known package to openSUSE?

  3. #3
    Join Date
    Nov 2009
    Location
    West Virginia Sector 13
    Posts
    15,652

    Default Re: install oracle java 8 on leap 42.1

    You simply need to know how

    When you say something does not work it give no information please give error message or explain why it does not work. We can not see over your shoulder and can not guess what you see.

  4. #4
    Join Date
    May 2011
    Location
    Czech Republic
    Posts
    29

    Default Re: install oracle java 8 on leap 42.1

    Quote Originally Posted by gogalthorp View Post
    You simply need to know how

    When you say something does not work it give no information please give error message or explain why it does not work. We can not see over your shoulder and can not guess what you see.
    Yes, I am looking for anybody who know how! It is not so simple.

    OK ... 1-clik install here: https://software.opensuse.org/package/java-1_8_0-sun does not really install oracle java 8. The default openjdk is still active. and oracle java 8 is not possible to configure, because is not practically installed.

    and

    probably all info you looking for is here: https://forums.opensuse.org/showthread.php/505779-Unable-to-install-Oracle-Java-8-OpenSUSE-13-2

  5. #5

    Default Re: install oracle java 8 on leap 42.1

    On 11/19/2015 08:46 AM, michalq wrote:
    >
    > OK ... 1-clik install here:
    > https://software.opensuse.org/package/java-1_8_0-sun does not really
    > install oracle java 8. The default openjdk is still active. and oracle
    > java 8 is not possible to configure, because is not practically
    > installed.


    Have you tried using the installs from Sun/Oracle? They have an RPM-based
    version as well as a simpler tar.gz as I recall which you can extract
    anywhere and just works.

    It should be mentioned that installation doesn't mean your user's PATH is
    magically updated, or that JAVA_HOME will be updated. You likely need to
    tell whatever applications you are using to use that JRE/JDK, and then
    they will work. If you want that to be done system-wide, look at the
    update-alternatives command.

    --
    Good luck.

    If you find this post helpful and are logged into the web interface,
    show your appreciation and click on the star below...

  6. #6
    Join Date
    May 2011
    Location
    Czech Republic
    Posts
    29

    Default Re: install oracle java 8 on leap 42.1

    Quote Originally Posted by ab View Post
    On 11/19/2015 08:46 AM, michalq wrote:

    Have you tried using the installs from Sun/Oracle? They have an RPM-based
    version as well as a simpler tar.gz as I recall which you can extract
    anywhere and just works.

    It should be mentioned that installation doesn't mean your user's PATH is
    magically updated, or that JAVA_HOME will be updated. You likely need to
    tell whatever applications you are using to use that JRE/JDK, and then
    they will work. If you want that to be done system-wide, look at the
    update-alternatives command.
    Of course, I tried. Same problems as described in: https://forums.opensuse.org/showthre...-OpenSUSE-13-2

    But what is really very bad is the fact that 1-click installer here: https://software.opensuse.org/package/java-1_8_0-sun practically does not install the oracle java 8?! Regular user, like me, expect that someone test these Build service items. But obviously not??!!

  7. #7
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,951
    Blog Entries
    2

    Default Re: install oracle java 8 on leap 42.1

    Do you absolutely need to install from Oracle or can you use openJDK 8? If you only need the JRE and not the other things in the JDK, then you should be good to go.

    I've found both Java 7 and Java 8 installed by default on a default LEAP install.

    TSU

  8. #8
    Join Date
    May 2011
    Location
    Czech Republic
    Posts
    29

    Default Re: install oracle java 8 on leap 42.1

    Quote Originally Posted by tsu2 View Post
    Do you absolutely need to install from Oracle or can you use openJDK 8? If you only need the JRE and not the other things in the JDK, then you should be good to go.

    I've found both Java 7 and Java 8 installed by default on a default LEAP install.

    TSU
    Are you trying to say me, that install of Oracle Java 8 is so difficult, that is more simple to use openJDK 8?

  9. #9
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    10,951
    Blog Entries
    2

    Default Re: install oracle java 8 on leap 42.1

    Quote Originally Posted by michalq View Post
    Are you trying to say me, that install of Oracle Java 8 is so difficult, that is more simple to use openJDK 8?
    Just saying unnecessary.
    As of Java 8, the jre provided by openJDK and Oracle's proprietary package provides 100% identical support which is all most applications need.

    If you need additional features not in the jre but provided by the SDK then you might still need Oracle's Java SE and not openJDK.

    The diff is what happens when you install your java app... If the code is truly portable for all platforms (for example you just copy the files to your machine and run "java javabinary"), then the jre is all that is required, it's the concept of Java's "write once, run anywhere" where the coder develops a single codebase which is not altered at all no matter where it's run.

    But, if in the course of your install some on demand compilation occurs(for example you can't just run "java javabinary" but need to explicitly compile or compile during a package install) , then you'll likely need the SDK and in that case depending on what is being compiled you may need the Oracle install.

    TSU

Tags for this Thread

Posting Permissions

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