[CentOS] JRE 8.1 for CentOS6

Thu Sep 14 23:19:54 UTC 2017
Stephen John Smoogen <smooge at gmail.com>

On 14 September 2017 at 18:59, Larry Martell <larry.martell at gmail.com> wrote:
> On Thu, Sep 14, 2017 at 6:45 PM, Ulf Volmer <u.volmer at u-v.de> wrote:
>> On 14.09.2017 23:56, Larry Martell wrote:
>>> On Thu, Sep 14, 2017 at 5:30 PM, Ulf Volmer <u.volmer at u-v.de> wrote:
>>
>>>> Again, please enter 'about:plugins' in the address bar of your browser
>>>> to make sure, that the right java version is activated.
>>>
>>> This is what I get from that:
>>>
>>> application/x-java-vm IcedTea class,jar
>>
>> That's OpenJDK instead of Oracle.
>
> Do you know how I can associate IcedTea with Oracle's JRE?
>

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

[root at 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?



>>> Then they asked me to run this:
>>>
>>> alternatives --config java
>>>
>>> There are 2 programs which provide 'java'.
>>>
>>>   Selection    Command
>>> -----------------------------------------------
>>> *+ 1           /usr/lib/jvm/jre-1.8.0-openjdk.x86_64/bin/java
>>>    2           /usr/java/jre1.8.0_144/bin/jav
>>>
>>
>> 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.
>
> No, that gave no output.
>
>>>> And at last, please check the security options with jcontrol. Newer java
>>>> version are more restricted about security settings.
>>>
>>> I don't seem to have jcontrol
>>
>> Should be part of your JRE installation:
>>
>> [ulf at x1 ~]$ rpm -qlp Downloads/jre-8u144-linux-x64.rpm |grep bin/jcontrol
>> /usr/java/jre1.8.0_144/bin/jcontrol
>
> 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.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos



-- 
Stephen J Smoogen.