From owner-freebsd-java Mon Apr 8 2:22:51 2002 Delivered-To: freebsd-java@freebsd.org Received: from puget.esil.univ-mrs.fr (puget.esil.univ-mrs.fr [139.124.41.103]) by hub.freebsd.org (Postfix) with ESMTP id 2240537B400 for ; Mon, 8 Apr 2002 02:22:47 -0700 (PDT) Received: from localhost (hquiroz@localhost) by puget.esil.univ-mrs.fr (8.11.6/8.11.6) with ESMTP id g389U7p39135; Mon, 8 Apr 2002 11:30:07 +0200 (CEST) (envelope-from hquiroz@esil.univ-mrs.fr) X-Authentication-Warning: puget.esil.univ-mrs.fr: hquiroz owned process doing -bs Date: Mon, 8 Apr 2002 11:30:07 +0200 (CEST) From: Herve Quiroz To: Lev Serebryakov Cc: freebsd-java@freebsd.org Subject: Re: Self-bootstrapping the jdk1.3.1 (was: Compile JDK-1.3.1p6 without X11?) In-Reply-To: <197318045725.20020408130351@serebryakov.spb.ru> Message-ID: <20020408112058.A38939-100000@puget.esil.univ-mrs.fr> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Lev, > >> bootstrapping linux-jdk13 need X11 in any case), transferred to > >> servers, and then upgrades will be possible with self-bootstrapping. > HQ> BTW, is it (would it be) possible to compile the native jdk1.3.1 using a > HQ> possibly already installed native jdk1.3.1 (that is without the need of > HQ> the linux-jdk port) ? Maybe it is just some little trick in the Makefile > HQ> so I will take a look at it right soon (in fact, just after we agree on a > HQ> final and *full-featured* bsd.java.mk so I can commit my ports : > HQ> jakarta-log4j, jakarta-commons, gnu-trove and maybe nanoXML). Please tell > HQ> me if it is already done so I don't "reinvent the wheel" (again). ;) > It is very simple and works fine for me! About a 2 hours ago I've > upgraded jdk-1.3.1p6_2 =to=> jdk-1.3.1p6_3 with self-bootstrapping, > and I've use linux-jdk only for jdk-1.3.1p6, all other upgrades was > self-bootstrapped: > > (a) You use great portupgrade tool: > freebsd# portupgrade -m 'JDK13DIR=/usr/local/jdk1.3.1' jdk-1.3.1p6_2 > > (b) You prefer to do upgrade by hands > freebsd# cd /usr/ports/java/jdk13 > freebsd# make JDK13DIR=/usr/local/jdk1.3.1 all > freebsd# make JDK13DIR=/usr/local/jdk1.3.1 deinstall > freebsd# make JDK13DIR=/usr/local/jdk1.3.1 install Thanks for the hint. :) Have you noticed some performance improvement/decrease using the native jdk over the linux one ? In this case, maybe it would be nice to have it done automatically self-bootstrapped. Moreover, in this case Ernst's bsd.java.mk jdk selection mechanism for ports would work perfectly for the jdk13 port. Indeed, as far as I remember, when specifying USE_JAVA=1.3, it first looks for java/jdk13 and then java/linux-jdk13 (I don't know for linux-ibm-jdk13...) and it is even possible to override this behaviour with some command-line options to have the port builded with a particular jdk. Herve To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message