From owner-freebsd-java Wed Oct 30 22:34: 3 2002 Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CC4E37B401 for ; Wed, 30 Oct 2002 22:34:01 -0800 (PST) Received: from flora.isecure.com.au (ns1.isecure.com.au [202.125.0.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5733243E77 for ; Wed, 30 Oct 2002 22:33:59 -0800 (PST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from leal.securenet.com.au (leal.isecure.com.au [202.125.0.94] (may be forged)) by flora.isecure.com.au (8.11.3/8.11.3) with ESMTP id g9V6Xrd19514; Thu, 31 Oct 2002 17:33:53 +1100 Received: (from root@localhost) by leal.securenet.com.au (8.12.6/8.12.6) id g9V6XrYL004162; Thu, 31 Oct 2002 17:33:53 +1100 (EST) Received: from nodnsquery(10.11.3.10) by leal.securenet.com.au via csmap (V6.0) id srcAAANaaiii; Thu, 31 Oct 02 17:33:52 +1100 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) by gibbons.securenet.com.au (8.12.3/8.12.3/Debian -4) with ESMTP id g9V6XqQO030022; Thu, 31 Oct 2002 17:33:52 +1100 Received: from xena.aipo.gov.au (xena.aipo.gov.au [10.0.100.52]) by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id g9V6Xqn60765; Thu, 31 Oct 2002 17:33:52 +1100 (EST) (envelope-from carl@xena.IPAustralia.gov.au) Received: from newton.aipo.gov.au (newton.aipo.gov.au [10.0.100.18]) by xena.aipo.gov.au (8.11.1/8.11.2) with ESMTP id g9V6XpW42159; Thu, 31 Oct 2002 17:33:52 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: from newton.aipo.gov.au (localhost [127.0.0.1]) by newton.aipo.gov.au (8.12.6/8.12.3) with ESMTP id g9V6XpMB059375; Thu, 31 Oct 2002 17:33:51 +1100 (EST) (envelope-from carl@xena.ipaustralia.gov.au) Received: (from carl@localhost) by newton.aipo.gov.au (8.12.6/8.12.3/Submit) id g9V6XpJ7059374; Thu, 31 Oct 2002 17:33:51 +1100 (EST) X-Authentication-Warning: newton.aipo.gov.au: carl set sender to carl@xena.ipaustralia.gov.au using -f Subject: Re: why linux-sun-jdk13 ? From: Carl Makin To: Alex.Wilkinson@dsto.defence.gov.au Cc: freebsd-java@FreeBSD.ORG In-Reply-To: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> References: <20021031162823.L90689-100000@squirm.dsto.defence.gov.au> Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Mailer: Ximian Evolution 1.0.8 Date: 31 Oct 2002 17:33:51 +1100 Message-Id: <1036046031.26849.151.camel@newton.aipo.gov.au> Mime-Version: 1.0 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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. Carl. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message