JDK version error on install

Ron Marion <[email protected]> Fri, 29 Jul 2016 08:55:03 -0400
Newsgroups gmane.network.opennms.install
Message-ID <CAF7cY5NfVyiNohmNA6t0x4_GMBfoSSDcf60OtJK=FO8TVzXBSQ@mail.gmail.com>
--===============7970229371789366674==
Content-Type: multipart/alternative; boundary=001a113cd14a58ba810538c5c2cb

--001a113cd14a58ba810538c5c2cb
Content-Type: text/plain; charset=UTF-8

Hello,

I've installed OpenNMS per the instructions on the OpenNMS web site.  I am
running CentOS 7 and installed opennms version 18.0.1-1 from the opennms
repo using yum.  I have also installed PostgreSQL and the JDK.  I made it
through the PostgreSQL install and intialization and am encountering an
issue when I try to register the JDK install with opennms using the javarun
script.  It's telling me that the JDK version is not an appropriate JDK,
even after installing the JDK 1.8 from the opennms repo and also trying to
install the latest JDK 1.8 from Sun.  I am including the output of the
script below as well as a directory listing for my JDK install, which
clearly shows I have JDK version 1.8.0_60 installed.

[root@localhost ~]# /opt/opennms/bin/runjava -S /usr/java/latest
runjava: checking specified JRE: "/usr/java/latest"...
runjava: /usr/java/latest is not Java 1.8 or newer.
runjava: specified JRE "/usr/java/latest" is not an appropriate JRE
[root@localhost ~]# ls -al /usr/java
total 8
drwxr-xr-x.  3 root root   51 Jul 28 18:28 .
drwxr-xr-x. 14 root root 4096 Aug  4  2015 ..
lrwxrwxrwx.  1 root root   16 Jul 28 18:28 default -> /usr/java/latest
drwxr-xr-x.  9 root root 4096 Jul 28 18:28 jdk1.8.0_60
lrwxrwxrwx.  1 root root   21 Jul 28 18:28 latest -> /usr/java/jdk1.8.0_60

Any assistance anyone can provide concerning this error would be
appreciated.

Ron Marion

--001a113cd14a58ba810538c5c2cb
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div>Hello,<br><br></div>I&#39;ve installed OpenNMS p=
er the instructions on the OpenNMS web site.=C2=A0 I am running CentOS 7 an=
d installed opennms version 18.0.1-1 from the opennms repo using yum.=C2=A0=
 I have also installed PostgreSQL and the JDK.=C2=A0 I made it through the =
PostgreSQL install and intialization and am encountering an issue when I tr=
y to register the JDK install with opennms using the javarun script.=C2=A0 =
It&#39;s telling me that the JDK version is not an appropriate JDK, even af=
ter installing the JDK 1.8 from the opennms repo and also trying to install=
 the latest JDK 1.8 from Sun.=C2=A0 I am including the output of the script=
 below as well as a directory listing for my JDK install, which clearly sho=
ws I have JDK version 1.8.0_60 installed.<br><br>[root@localhost ~]# /opt/o=
pennms/bin/runjava -S /usr/java/latest<br>runjava: checking specified JRE: =
&quot;/usr/java/latest&quot;...<br>runjava: /usr/java/latest is not Java 1.=
8 or newer.<br>runjava: specified JRE &quot;/usr/java/latest&quot; is not a=
n appropriate JRE<br>[root@localhost ~]# ls -al /usr/java<br>total 8<br>drw=
xr-xr-x.=C2=A0 3 root root=C2=A0=C2=A0 51 Jul 28 18:28 .<br>drwxr-xr-x. 14 =
root root 4096 Aug=C2=A0 4=C2=A0 2015 ..<br>lrwxrwxrwx.=C2=A0 1 root root=
=C2=A0=C2=A0 16 Jul 28 18:28 default -&gt; /usr/java/latest<br>drwxr-xr-x.=
=C2=A0 9 root root 4096 Jul 28 18:28 jdk1.8.0_60<br>lrwxrwxrwx.=C2=A0 1 roo=
t root=C2=A0=C2=A0 21 Jul 28 18:28 latest -&gt; /usr/java/jdk1.8.0_60<br><b=
r clear=3D"all"><div><div>Any assistance anyone can provide concerning this=
 error would be appreciated.<br><br></div><div>Ron Marion<br></div></div></=
div></div>

--001a113cd14a58ba810538c5c2cb--


--===============7970229371789366674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------

--===============7970229371789366674==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-install mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
--===============7970229371789366674==--