Date: 31 Oct 2002 17:33:51 +1100 From: Carl Makin <carl@xena.IPAustralia.gov.au> To: Alex.Wilkinson@dsto.defence.gov.au Cc: freebsd-java@FreeBSD.ORG Subject: Re: why linux-sun-jdk13 ? Message-ID: <1036046031.26849.151.camel@newton.aipo.gov.au> In-Reply-To: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> References: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 2002-10-31 at 17:04, Wilkinson,Alex wrote: > Once JDK13 is installed and the linux-jdk is deleted. How do I install an upgrade if: > > 1. I do a pkg_delete of jdk13. > 2. Then I do a fresh install of jdk-the-updated-version. > > Using NATIVE_BOOTSTRAP argument to make wouldn't work bec I have already deleted jdk13. > > Or do you install the jdk-updated-version first and then pkg_delete the older version ? The best way is to define NATIVE_BOOTSTRAP=YES in your environment and then use "portupgrade -v jdk13" to upgrade it. "portupgrade" is a port in /usr/ports/sysutils which you can install the normal way first. This might also work; 1. define NATIVE_BOOTSTRAP 2. cd /usr/ports/java/jdk13 3. make build 3. pkg_delete jdk-1.3.1xxxx (whatever version you have) 4. make install I haven't tried this though. Once you start using portupgrade, the rest is painful. <grin> Carl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1036046031.26849.151.camel>