Re: JDK version error on install
John Black <[email protected]> Fri, 29 Jul 2016 09:22:16 -0400
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <CAOt2Xu8OJXuX6XNLt3G95jcxds33Fct+zY0Eq_CthZni3qeaWg@mail.gmail.com> |
--===============2426916881342762954== Content-Type: multipart/alternative; boundary=94eb2c12357aafbe5f0538c62323 --94eb2c12357aafbe5f0538c62323 Content-Type: text/plain; charset=UTF-8 Have you checked "alternatives"? https://www.centos.org/forums/viewtopic.php?t=5267 [image: JSI Logo] John Black network AdministratorPHONE: 617.482.9485 | WWW.JSI.COM <http://www.jsi.com>[image: Find us on Facebook] <http://www.facebook.com/jsihealth>[image: Follow us on Twitter] <http://www.twitter.com/jsihealth> On Fri, Jul 29, 2016 at 8:55 AM, Ron Marion <[email protected]> wrote: > 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 > > > ------------------------------------------------------------------------------ > > _______________________________________________ > 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 > --94eb2c12357aafbe5f0538c62323 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Have you checked "alternatives"?<br><br><a href= =3D"https://www.centos.org/forums/viewtopic.php?t=3D5267">https://www.cento= s.org/forums/viewtopic.php?t=3D5267</a><br></div><div class=3D"gmail_extra"= ><br clear=3D"all"><div><div class=3D"gmail_signature" data-smartmail=3D"gm= ail_signature"><div dir=3D"ltr"><span style=3D"font-family:Arial,Helvetica,= sans-serif"><img alt=3D"JSI Logo" src=3D"http://www.jsi.com/Independent/Ima= ges/logos/jsi/logo.png"></span> <span style=3D"font-family:Arial,Helvetica,= sans-serif"><span style=3D"font-family:Arial,Helvetica,sans-serif;font-size= :11px;font-weight:bold;text-transform:uppercase">John Black</span><img src= =3D"http://www.jsi.com/Independent/Images/logos/jsi/4squares_sm.png"> <span= style=3D"font-family:Arial,Helvetica,sans-serif;font-size:11px;color:#9999= 99;font-weight:bold;text-transform:uppercase">network Administrator</span><= img src=3D"http://www.jsi.com/Independent/Images/logos/jsi/4squares_sm.png"= ><span style=3D"font-family:Arial,Helvetica,sans-serif;font-size:11px;font-= weight:bold;text-transform:uppercase">PHONE: 617.482.9485 |</span> <span style=3D"font-family:Arial,Helvetic= a,sans-serif;font-size:11px;font-weight:bold;color:#f00;text-transform:uppe= rcase"> <a href=3D"http://www.jsi.com" style=3D"text-decoration:none;co= lor:#e80131" target=3D"_blank">WWW.JSI.COM</a></span><a href=3D"http://www.= facebook.com/jsihealth" target=3D"_blank"><img alt=3D"Find us on Facebook" = src=3D"http://www.jsi.com/Independent/Images/logos/socialmedia/fb.png" styl= e=3D"border:0"></a></span><a href=3D"http://www.twitter.com/jsihealth" targ= et=3D"_blank"><img alt=3D"Follow us on Twitter" src=3D"http://www.jsi.com/I= ndependent/Images/logos/socialmedia/twitter.png" style=3D"border:0"></a></d= iv></div></div> <br><div class=3D"gmail_quote">On Fri, Jul 29, 2016 at 8:55 AM, Ron Marion = <span dir=3D"ltr"><<a href=3D"mailto:[email protected]" target=3D"_= blank">[email protected]</a>></span> wrote:<br><blockquote class=3D= "gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding= -left:1ex"><div dir=3D"ltr"><div><div>Hello,<br><br></div>I've installe= d OpenNMS per the instructions on the OpenNMS web site.=C2=A0 I am running = CentOS 7 and 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 t= hrough the PostgreSQL install and intialization and am encountering an issu= e when I try to register the JDK install with opennms using the javarun scr= ipt.=C2=A0 It's telling me that the JDK version is not an appropriate J= DK, even after 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 shows I have JDK version 1.8.0_60 installed.<br><br>[root@localhost= ~]# /opt/opennms/bin/runjava -S /usr/java/latest<br>runjava: checking spec= ified JRE: "/usr/java/latest"...<br>runjava: /usr/java/latest is = not Java 1.8 or newer.<br>runjava: specified JRE "/usr/java/latest&quo= t; is not an appropriate JRE<br>[root@localhost ~]# ls -al /usr/java<br>tot= al 8<br>drwxr-xr-x.=C2=A0 3 root root=C2=A0=C2=A0 51 Jul 28 18:28 .<br>drwx= r-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 -> /usr/java/latest<br>drw= xr-xr-x.=C2=A0 9 root root 4096 Jul 28 18:28 jdk1.8.0_60<br>lrwxrwxrwx.=C2= =A0 1 root root=C2=A0=C2=A0 21 Jul 28 18:28 latest -> /usr/java/jdk1.8.0= _60<br><br clear=3D"all"><div><div>Any assistance anyone can provide concer= ning this error would be appreciated.<span class=3D"HOEnZb"><font color=3D"= #888888"><br><br></font></span></div><span class=3D"HOEnZb"><font color=3D"= #888888"><div>Ron Marion<br></div></font></span></div></div></div> <br>-----------------------------------------------------------------------= -------<br> <br>_______________________________________________<br> Please read the OpenNMS Mailing List FAQ:<br> <a href=3D"http://www.opennms.org/index.php/Mailing_List_FAQ" rel=3D"norefe= rrer" target=3D"_blank">http://www.opennms.org/index.php/Mailing_List_FAQ</= a><br> <br> opennms-install mailing list<br> <br> To *unsubscribe* or change your subscription options, see the bottom of thi= s page:<br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/opennms-install" re= l=3D"noreferrer" target=3D"_blank">https://lists.sourceforge.net/lists/list= info/opennms-install</a><br></blockquote></div><br></div> --94eb2c12357aafbe5f0538c62323-- --===============2426916881342762954== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ --===============2426916881342762954== 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 --===============2426916881342762954==--