Date: Sat, 17 Sep 2011 18:18:05 +0000 From: Kamil Choudhury <Kamil.Choudhury@anserinae.net> To: Jack Tang <jackhftang@hotmail.com>, "freebsd-doc@freebsd.org" <freebsd-doc@freebsd.org> Subject: RE: Appeal for updating the java page Message-ID: <CBB5D1A4ED8E2348A969235E3CE2C229C92BAB@awpsvc-win2.anserinae.net> In-Reply-To: <SNT118-W23A529DD2BB5429C201302DE090@phx.gbl> References: <SNT118-W23A529DD2BB5429C201302DE090@phx.gbl>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CBB5D1A4ED8E2348A969235E3CE2C229C92BAB>