From owner-freebsd-doc@FreeBSD.ORG Sat Sep 17 18:44:23 2011 Return-Path: Delivered-To: freebsd-doc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C13C31065675 for ; Sat, 17 Sep 2011 18:44:23 +0000 (UTC) (envelope-from Kamil.Choudhury@anserinae.net) Received: from cdptpa-omtalb.mail.rr.com (cdptpa-omtalb.mail.rr.com [75.180.132.123]) by mx1.freebsd.org (Postfix) with ESMTP id 806E88FC12 for ; Sat, 17 Sep 2011 18:44:23 +0000 (UTC) Received: from hrndva-omtalb.mail.rr.com ([10.128.143.54]) by hrndva-qmta01.mail.rr.com with ESMTP id <20110917182143183.CSYJ16315@hrndva-qmta01.mail.rr.com> for ; Sat, 17 Sep 2011 18:21:43 +0000 X-Authority-Analysis: v=1.1 cv=MgN7/KJv0EmO5CJGH57r3ABwexVA6M4dLJdFirx4b8Y= c=1 sm=0 a=EMxU0MXuukcA:10 a=WWGGoYozHbgA:10 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=qe0RvMpo0P4Rp0DQO452oA==:17 a=IP17e_1XAAAA:8 a=XuWZQQdWBjjnQAMhw-EA:9 a=CjuIK1q_8ugA:10 a=b0yzaHAerpUA:10 a=qe0RvMpo0P4Rp0DQO452oA==:117 X-Cloudmark-Score: 0 X-Originating-IP: 68.173.236.44 Received: from [68.173.236.44] ([68.173.236.44:61684] helo=awpsvc-win2.anserinae.net) by hrndva-oedge04.mail.rr.com (envelope-from ) (ecelerity 2.2.3.46 r()) with ESMTP id 2E/55-10382-9F4E47E4; Sat, 17 Sep 2011 18:20:41 +0000 Received: from AWPSVC-WIN2.anserinae.net ([::1]) by awpsvc-win2.anserinae.net ([::1]) with mapi; Sat, 17 Sep 2011 14:19:55 -0400 From: Kamil Choudhury To: Jack Tang , "freebsd-doc@freebsd.org" Thread-Topic: Appeal for updating the java page Thread-Index: AQHMdWNm3xjTC1N4tUuzeYcqmL1GEpVR3h5w Date: Sat, 17 Sep 2011 18:18:05 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: Subject: RE: Appeal for updating the java page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Sep 2011 18:44:23 -0000 I recently went through the same ordeal.=20 The deal here is that you have to have a JVM already installed on your syst= em=20 in order to install OpenJDK. Effectively, then, the installation of java/op= enjdk6 is a=20 two step process: first you install the java/diablo-jdk16 port by downloadi= ng and=20 installing the relevant package from freebsdfoundation.org, and then you su= bsequently=20 install java/openjdk6.=20 Afterwards, obviously, you have to change your PATH variable so that you in= voke=20 the newer openjdk6 by default.=20 I could have sworn that java/openjdk6 tells you this when you try to build = the port though. Agree that there could be more thorough documentation around this.=20