Date: Thu, 04 Dec 2014 10:15:52 +0100 From: "Ronald Klop" <ronald-lists@klop.ws> To: "Ed Maste" <emaste@freebsd.org>, "Paul Pathiakis" <ppathiakis@atlantisservices.net>, "Paul Pathiakis via freebsd-java" <freebsd-java@freebsd.org>, "Paul Pathiakis" <pathiaki2@yahoo.com> Subject: Re: Porting OpenNMS to FreeBSD 10.x with OpenJDK7 Message-ID: <op.xqb6oqzqkndu52@ronaldradial.radialsg.local> In-Reply-To: <547F3BD4.5010806@yahoo.com> References: <546E2ED7.6010803@atlantisservices.net> <CAPyFy2CJonq6TCMQv36vZEg0Kup_J_vkaVcMmnJPeGi%2BuECgzw@mail.gmail.com> <547F3BD4.5010806@yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
It is 'java -version'. The java version is choosen by something called javavmwrapper. This helps if you have multiple java versions installed. You can bypass this by going to the right directory immediately like '/usr/local/openjdk7/bin/java'. But first try -version with one dash. $ java --version Unrecognized option: --version Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. $ java -version openjdk version "1.7.0_71" OpenJDK Runtime Environment (build 1.7.0_71-b14) OpenJDK 64-Bit Server VM (build 24.71-b01, mixed mode) Regards, Ronald. On Wed, 03 Dec 2014 17:35:32 +0100, Paul Pathiakis via freebsd-java <freebsd-java@freebsd.org> wrote: > Hi all, > > I am trying to get anything to work with regards to OpenNMS and any > version of Java 1.7. > > My latest attempt was to try and get it running with the linux-sun-jdk17 > port. > It tells me that it can't find a usable JVM. > > java --version > java: error: no suitable JavaVMs found > > I'm running this in a jail, but I don't think that should have any issue. > > Anyone have further ideas? > > P. > > On 11/20/2014 19:34, Ed Maste wrote: >> On 20 November 2014 13:11, Paul Pathiakis >> <ppathiakis@atlantisservices.net> wrote: >>> Hi, >>> >>> I'm trying to create the port/pkg for the OpenNMS monitoring tool. >>> >>> The latest version came out, 1.14, and I have the latest package. >>> >>> However, there still seems to be a problem with it dumping core after a >>> couple of hours. >> Can you get a backtrace from the crash? >> _______________________________________________ >> freebsd-java@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-java >> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-java@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-java > To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.xqb6oqzqkndu52>