From owner-freebsd-java@FreeBSD.ORG Thu Dec 4 09:17:20 2014 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 07FC4759; Thu, 4 Dec 2014 09:17:20 +0000 (UTC) Received: from smarthost1.greenhost.nl (smarthost1.greenhost.nl [195.190.28.81]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BD3C9234; Thu, 4 Dec 2014 09:17:19 +0000 (UTC) Received: from smtp.greenhost.nl ([213.108.104.138]) by smarthost1.greenhost.nl with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.72) (envelope-from ) id 1XwSVt-0007SL-Uy; Thu, 04 Dec 2014 10:17:09 +0100 Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes To: "Ed Maste" , "Paul Pathiakis" , "Paul Pathiakis via freebsd-java" , "Paul Pathiakis" Subject: Re: Porting OpenNMS to FreeBSD 10.x with OpenJDK7 References: <546E2ED7.6010803@atlantisservices.net> <547F3BD4.5010806@yahoo.com> Date: Thu, 04 Dec 2014 10:15:52 +0100 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Ronald Klop" Message-ID: In-Reply-To: <547F3BD4.5010806@yahoo.com> User-Agent: Opera Mail/12.17 (Win32) X-Authenticated-As-Hash: 398f5522cb258ce43cb679602f8cfe8b62a256d1 X-Virus-Scanned: by clamav at smarthost1.samage.net X-Spam-Level: - X-Spam-Score: -1.5 X-Spam-Status: No, score=-1.5 required=5.0 tests=ALL_TRUSTED, BAYES_05 autolearn=disabled version=3.3.1 X-Scan-Signature: 3b058867a8808b2a73617ccb478d635a X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Dec 2014 09:17:20 -0000 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 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 >> 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"