From owner-freebsd-java@FreeBSD.ORG Fri Apr 27 19:12:51 2012 Return-Path: Delivered-To: freebsd-java@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BC2D8106566C for ; Fri, 27 Apr 2012 19:12:51 +0000 (UTC) (envelope-from chad@shire.net) Received: from mail.shire.net (mail.shire.net [199.102.78.250]) by mx1.freebsd.org (Postfix) with ESMTP id 995398FC08 for ; Fri, 27 Apr 2012 19:12:51 +0000 (UTC) Received: from c-76-27-96-201.hsd1.ut.comcast.net ([76.27.96.201] helo=[192.168.99.216]) by mail.shire.net with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77) (envelope-from ) id 1SNqIF-00095I-2U for freebsd-java@FreeBSD.org; Fri, 27 Apr 2012 12:53:23 -0600 From: "Chad Leigh Shire.Net LLC" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Fri, 27 Apr 2012 12:53:50 -0600 Message-Id: To: freebsd-java@FreeBSD.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) X-SA-Exim-Connect-IP: 76.27.96.201 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on mail.shire.net); SAEximRunCond expanded to false Cc: Subject: how does "javavms" work? X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Apr 2012 19:12:51 -0000 Hi Not the behind the scenes really. Just how do I use it? I installed OpenJDK7 from ports. As part of that it installed the = Diablo stuff (Java 6). the /usr/local/etc/javavms file listed both. But when I edited this = file to only have the OKDK 7 version, it still runs the Diable JDK 6 = stuff when I type "java" at the command line. I read the man file on javavms and used registervm and unregistervm and = javavms only lists the OpenJDK 7 version but if I do # java -version java version "1.6.0_07" Diablo Java(TM) SE Runtime Environment (build 1.6.0_07-b02) Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode) # Thanks for any insight.=20 Chad =20