Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Apr 2002 11:30:07 +0200 (CEST)
From:      Herve Quiroz <hquiroz@esil.univ-mrs.fr>
To:        Lev Serebryakov <lev@serebryakov.spb.ru>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Self-bootstrapping the jdk1.3.1 (was: Compile JDK-1.3.1p6 without X11?)
Message-ID:  <20020408112058.A38939-100000@puget.esil.univ-mrs.fr>
In-Reply-To: <197318045725.20020408130351@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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