JRE 8.1 For CentOS6

Home » CentOS » JRE 8.1 For CentOS6
CentOS 34 Comments

I have some software that says it requires JRE 8.1 or higher. If I go to http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html and install jre-8u144-linux-x64.rpm I get jrel.8.0_144. Anyone know where I can get 8.1?

34 thoughts on - JRE 8.1 For CentOS6

  • Larry Martell wrote:

    The latest JRE is JRE 8u144 (version 8, update 144). There’s no such thing as JRE 8.1.

    A search for “JRE 8.1 or higher” had no hits at all.

  • Sorry I mistyped it says 1.8 or greater. I did install that and I
    still get the message. It’s remote control software for an IBM system.

  • Do you have a lower version Java installed?  
    What does command ‘java -version’ say?

    IBM has their own flavor of Java. Is it looking for that?

  • openJDK version “1.8.0_101”
    OpenJDK Runtime Environment (build 1.8.0_101-b13)
    OpenJDK 64-Bit Server VM (build 25.101-b13, mixed mode)

    I don’t know. I am running CentOS6 and then trying to run their remote control SW throught FF. Maybe I have to restart FF … going to try that … no joy, same errors. Contacting IBM now.

  • For some of the IBM hardware I have had to use a new Java but an old copy of Firefox. The best explanation I have is probably flawed but it was that the hardware wanted SSL1/SSL2 type stuff which the new Firefox and items blocked. There is probably a better way to fix it.

  • In case they don’t suggest it, try connecting with http instead of https to see if it’s actually an SSL certificate problem.

  • I have FF version 24.6.0 – probably very old. This is a locked down machine, not on the internet, so installing anything is a pain.

  • In my case, that was the working version I needed for the IBM
    hardware. However I just realized the opposite might be also possible. The hardware is wanting to talk a newer version of TLS that your old browser can’t use. In either case talking with the hardware vendor to find exactly what they are expecting in both TLS, Java and other parts is needed.

  • That’s common now that everyone puts re-directs in to force everyone to use https.

    Can you get to the Apache logs on the remote machine? They may have more info.

    The error about Java 1.8 might be a red-herring.

    If the remote machine uses Perl on the backend, you might try setting the shell env variable OPENSSL_PREFIX to point on your local CentOS6 box to a newer version of openssl that handles the TLS handshake. The CPAN module Net::SSLeay uses that variable (if set) to use the specified OpenSSL library.

    –Ed

  • The remote machine is an IMM (Integrated Management Module). I can connect to that from a browser and then use a remote contol function to control the machine that is attached to the IMM. That machine will not boot so I want to see the console, which I usually can via this RC
    software. It worked before but yesterday I updated the firmware to fix another issue and that changed java requirements and now RC does not work.

  • I used to have issues with Java and our IBM IMM’s but seem to have it working on my MAC using java 8 build 144 and Safari. You *may* need to add the host imm ip address to your exception site list under the java security tab, if you haven’t already.

  • Or, change the path.  the java command sets java_home internally based on where its invoked from.


    john r pierce, recycling bits in santa cruz

  • How can I run yum remove without it trying to access the net? This machine has no internet connection and yum remove has been running for an hour trying to hit mirrors and repos.

  • Is the java plugin enabled in your browser? That’s not the default nowadays.

    if you are running firefox you can check this by opening ‘about:plugins’.

    here – configured for older HP ILOs – for example, the plugin is linked into my firefox profile:

    [ulf@bob ~]$ ll .mozilla/firefox/ln5frqem.default/plugins total 0
    lrwxrwxrwx. 1 ulf ulf 37 Apr 21 2016 libnpjp2.so ->
    /opt/jre1.7.0_51/lib/i386/libnpjp2.so

    best regards Ulf

  • I am running a very old versiond of FF, 24.6.0, and the menus and files are different. But I do not have a java plugin. But please note that this used to work until today when I upgraded the firmware in the IMM. That changed the java version required, so I updated that. But the FF version and config has not changed.

  • So it sounds like the links needed for the plugin to work are not configured on the system. So you have some symlinks pointing to the openjdk with the system and some pointing the one you tried to install. I don’t know how you installed this new jdk so it may be for many different reasons.

  • I installed it by downloading the rpm and installing that. IBM said on my older FF the app/plugin is called JNLP and I should change the setting for that to ‘always ask’ and then when it asks use javaws – I
    did that but it still fails.

  • Again, please enter ‘about:plugins’ in the address bar of your browser to make sure, that the right java version is activated.

    But normally javaws is a different topic. As far as i remember, there should be an option to let firefox ask, which javaws should be executed. As i understand, you have different version installed.

    And at last, please check the security options with jcontrol. Newer java version are more restricted about security settings.

    best regards Ulf

  • This is what I get from that:

    application/x-java-vm IcedTea class,jar application/x-java-applet IcedTea class,jar application/x-java-applet;version=1.1 IcedTea class,jar application/x-java-applet;version=1.1.1 IcedTea class,jar application/x-java-applet;version=1.1.2 IcedTea class,jar application/x-java-applet;version=1.1.3 IcedTea class,jar application/x-java-applet;version=1.2 IcedTea class,jar application/x-java-applet;version=1.2.1 IcedTea class,jar application/x-java-applet;version=1.2.2 IcedTea class,jar application/x-java-applet;version=1.3 IcedTea class,jar application/x-java-applet;version=1.3.1 IcedTea class,jar application/x-java-applet;version=1.4 IcedTea class,jar application/x-java-applet;version=1.4.1 IcedTea class,jar application/x-java-applet;version=1.4.2 IcedTea class,jar application/x-java-applet;version=1.5 IcedTea class,jar application/x-java-applet;version=1.6 IcedTea class,jar application/x-java-applet;version=1.7 IcedTea class,jar application/x-java-applet;version=1.8 IcedTea class,jar application/x-java-applet;jpi-version=1.8.0_50 IcedTea class,jar application/x-java-bean IcedTea class,jar application/x-java-bean;version=1.1 IcedTea class,jar application/x-java-bean;version=1.1.1 IcedTea class,jar application/x-java-bean;version=1.1.2 IcedTea class,jar application/x-java-bean;version=1.1.3 IcedTea class,jar application/x-java-bean;version=1.2 IcedTea class,jar application/x-java-bean;version=1.2.1 IcedTea class,jar application/x-java-bean;version=1.2.2 IcedTea class,jar application/x-java-bean;version=1.3 IcedTea class,jar application/x-java-bean;version=1.3.1 IcedTea class,jar application/x-java-bean;version=1.4 IcedTea class,jar application/x-java-bean;version=1.4.1 IcedTea class,jar application/x-java-bean;version=1.4.2 IcedTea class,jar application/x-java-bean;version=1.5 IcedTea class,jar application/x-java-bean;version=1.6 IcedTea class,jar application/x-java-bean;version=1.7 IcedTea class,jar application/x-java-bean;version=1.8 IcedTea class,jar application/x-java-bean;jpi-version=1.8.0_50 IcedTea class,jar application/x-java-vm-npruntime IcedTea

    When this was working before the firmware update the RC software invoked IcedTea. As one of the attempted fixes IBM suggested using javaws instead. Intially I did not have javaws but I did have javaws.itweb. I tried that and it failed in the same way.

    Then they asked me to run this:

    alternatives –config java

    There are 2 programs which provide ‘java’.

    Selection Command
    ———————————————

  • That’s OpenJDK instead of Oracle.

    Maybe you should also try ‘alternatives –config javaws’ to switch to the Oracle java webstart. But i’m not sure that this is possible for javaws.

    Should be part of your JRE installation:

    [ulf@x1 ~]$ rpm -qlp Downloads/jre-8u144-linux-x64.rpm |grep bin/jcontrol
    /usr/java/jre1.8.0_144/bin/jcontrol

    best regards Ulf

  • Do you know how I can associate IcedTea with Oracle’s JRE?

    No, that gave no output.

    Ah, yes, I do have that. It’s the same as running ControlPanel – that is where they had me try puttin the IP address of the IMM in the exception site list.

  • You can try to replace the icedtea plugin with the one from Oracle. As i wrote in my first mail. Try to locate the plugin folder of your firefox installation (maybe in your ff profile or system wide in the firefox folder), backup the old plugin and place there a symlink to the oracle plugin (/usr/java/jre1.8.0_144/lib/amd64/libnpjp2.so).

    OK and did your set the security setting to the lowest one?

    best regards Ulf

  • Iced Tea is a tool which Firefox calls to get the java.

    [root@el6 ~]# yum info icedtea-web Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile
    * base: mirrors.CentOS.webair.com
    * epel: mirror.cogentco.com
    * epel-testing: mirror.cogentco.com
    * extras: mirrors.CentOS.webair.com
    * updates: mirrors.CentOS.webair.com Available Packages Name : icedtea-web Arch : x86_64
    Version : 1.6.2
    Release : 1.el6
    Size : 1.6 M
    Repo : base Summary : Additional Java components for OpenJDK – Java browser plug-in and Web Start implementation URL : http://icedtea.classpath.org/wiki/IcedTea-Web License : LGPLv2+ and GPLv2 with exceptions Description : The IcedTea-Web project provides a Java web browser plugin, an implementation
    : of Java Web Start (originally based on the Netx project)
    and a settings tool to
    : manage deployment settings for the aforementioned plugin and Web Start
    : implementations.

    What does alternatives –config java and alternatives –config javaws give as options?

  • My old version of FF does not have plugin folder, it has a file called pluginreg.dat that looks like this:

    IcedTeaPlugin.so:$
    /usr/lib64/IcedTeaPlugin.so:$
    :$
    1462942245000:0:0:$
    The IcedTea-Web Plugin executes Java applets.:$
    IcedTea-Web Plugin (using IcedTea-Web 1.6.2 (rhel-1.el6-x86_64)):$
    38
    0:application/x-java-vm:IcedTea:class,jar:$
    1:application/x-java-applet:IcedTea:class,jar:$
    2:application/x-java-applet;version=1.1:IcedTea:class,jar:$
    3:application/x-java-applet;version=1.1.1:IcedTea:class,jar:$
    4:application/x-java-applet;version=1.1.2:IcedTea:class,jar:$
    5:application/x-java-applet;version=1.1.3:IcedTea:class,jar:$
    6:application/x-java-applet;version=1.2:IcedTea:class,jar:$
    7:application/x-java-applet;version=1.2.1:IcedTea:class,jar:$
    8:application/x-java-applet;version=1.2.2:IcedTea:class,jar:$
    9:application/x-java-applet;version=1.3:IcedTea:class,jar:$
    10:application/x-java-applet;version=1.3.1:IcedTea:class,jar:$
    11:application/x-java-applet;version=1.4:IcedTea:class,jar:$
    12:application/x-java-applet;version=1.4.1:IcedTea:class,jar:$
    13:application/x-java-applet;version=1.4.2:IcedTea:class,jar:$
    14:application/x-java-applet;version=1.5:IcedTea:class,jar:$
    15:application/x-java-applet;version=1.6:IcedTea:class,jar:$
    16:application/x-java-applet;version=1.7:IcedTea:class,jar:$
    17:application/x-java-applet;version=1.8:IcedTea:class,jar:$
    18:application/x-java-applet;jpi-version=1.8.0_50:IcedTea:class,jar:$
    19:application/x-java-bean:IcedTea:class,jar:$
    20:application/x-java-bean;version=1.1:IcedTea:class,jar:$
    21:application/x-java-bean;version=1.1.1:IcedTea:class,jar:$
    22:application/x-java-bean;version=1.1.2:IcedTea:class,jar:$
    23:application/x-java-bean;version=1.1.3:IcedTea:class,jar:$
    24:application/x-java-bean;version=1.2:IcedTea:class,jar:$
    25:application/x-java-bean;version=1.2.1:IcedTea:class,jar:$
    26:application/x-java-bean;version=1.2.2:IcedTea:class,jar:$
    27:application/x-java-bean;version=1.3:IcedTea:class,jar:$
    28:application/x-java-bean;version=1.3.1:IcedTea:class,jar:$
    29:application/x-java-bean;version=1.4:IcedTea:class,jar:$
    30:application/x-java-bean;version=1.4.1:IcedTea:class,jar:$
    31:application/x-java-bean;version=1.4.2:IcedTea:class,jar:$
    32:application/x-java-bean;version=1.5:IcedTea:class,jar:$
    33:application/x-java-bean;version=1.6:IcedTea:class,jar:$
    34:application/x-java-bean;version=1.7:IcedTea:class,jar:$
    35:application/x-java-bean;version=1.8:IcedTea:class,jar:$
    36:application/x-java-bean;jpi-version=1.8.0_50:IcedTea:class,jar:$
    37:application/x-java-vm-npruntime:IcedTea::$

    How would I add /usr/java/jre1.8.0_144/lib/amd64/libnpjp2.so to that?

    The only 2 choices are “High” and “Very High” – it was already on High

  • i doubt that. Please look into

    /usr/lib/mozilla/plugins or /usr/lib64/mozilla/plugins. i’m quite sure that these directories also exist in you ff v24. pluginreq.dat should only cache the plugin informations and can be renamed.

    It’s also possible to store your plugin in your profile if you want to install the plugin only for your account. in this case you can either use ~/.mozilla/plugins (for all profiles) or [Profile directory]/plugins for a specific profile.

    best regards Ulf

  • In /usr/lib64/mozilla/plugins there is a symlink from libjavaplugin.so to /usr/lib64/IcedTeaPlugin.so I changed that to point to
    /usr/java/jre1.8.0_144/lib/amd64/libnpjp2.so but I got the exact same results. I also tried renaming the pluginreg.dat file. No joy.