Re: JDK version error on install

Ronald Roskens <[email protected]> Fri, 29 Jul 2016 08:17:44 -0500
Newsgroups gmane.network.opennms.install
Message-ID <[email protected]>
--===============2903325985025102468==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_1E493D64-7B36-4A42-862E-672CF5DE9E2A";
	protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_1E493D64-7B36-4A42-862E-672CF5DE9E2A
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

> On Jul 29, 2016, at 7:55 AM, Ron Marion <[email protected]> =
wrote:
>=20
> Hello,
>=20
> 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.
>=20
> [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
>=20
> Any assistance anyone can provide concerning this error would be =
appreciated.


Use the full path to the java binary.

Ron

--Apple-Mail=_1E493D64-7B36-4A42-862E-672CF5DE9E2A
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJXm1d4AAoJENlR2nVe4bSrC58QAOE0jYukRzmpSVhClPVM08lT
aP6hm5Yve3eeR8e/eE0ZO8wJ8qnvTlwmVKteXptGTBeBoOUG7yx7TrLpRmV6DmOn
yie3dbXapQr/zE5TkqEXtejRVSpyAd/SeI2XLWwq3ydwzzHDKjHNofSFabsGx7hN
c+0k4dggnSo2Rs1fip723NHZjuTrYax0fDHsV9fBh5sRzJSB3S4rtYoWYGe81uRj
t+CtwoIy/dPltstTsj62Na4xzKsGP+S1p8dICpxpBc4KKXKDrZOn88o+WO1NK/jt
n7TTKjTlyWmijHUDDLVs4IC92Dt0PpxTFaZ3tbvUxSwXA/JyDlrmQs040+K25nL5
cUtllVEnAwdZv3HwQjpGAq8AZ1HBCI89XbLWCOaEx0Sj1CVKlS7WnaiVFQbhIhDp
veKJOmjPYsOR/6/fSKsV4T5gaxmSbQq+3oxPK4KJduTZPwT7XaxyPhVdw0OU3zXw
w+iEhBKkG9GKVXsRqmkfAZtXl0TUmZ7kkzx/KYpNNML8LQckBCKW87szaF3DQze/
vTHY/IiYSR8J13S9TANbJ3YAjtFZxlIMOAp+sJNDIahkz60F0L5z7Dgm1I4zn4Gf
Iekxs239EYPfz8ZM+iWBuXgmw3UqP7Fk84PuuXmcGOpHS94NJ5kgVQbHmv3SMqEf
T1u0B1q333YE4sBc6xDH
=oYhg
-----END PGP SIGNATURE-----

--Apple-Mail=_1E493D64-7B36-4A42-862E-672CF5DE9E2A--


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

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

--===============2903325985025102468==
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
--===============2903325985025102468==--