Skip site navigation (1)Skip section navigation (2)
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>

index | next in thread | previous in thread | raw e-mail

I recently went through the same ordeal. 

The deal here is that you have to have a JVM already installed on your system 
in order to install OpenJDK. Effectively, then, the installation of java/openjdk6 is a 
two step process: first you install the java/diablo-jdk16 port by downloading and 
installing the relevant package from freebsdfoundation.org, and then you subsequently 
install java/openjdk6. 

Afterwards, obviously, you have to change your PATH variable so that you invoke 
the newer openjdk6 by default. 

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. 


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CBB5D1A4ED8E2348A969235E3CE2C229C92BAB>