java and FAI

Holger Levsen hl at hbt.de
Tue Aug 10 14:07:03 CEST 2004


Hi,

although I agree that is possible best to use the one real way (see
below), it's pretty easy to hackishly accept the licence:

with the blackdown-java1.3-packages I use a script which simply does:

yes 'yes' | $ROOTCMD apt-get install j2sdk1.3

and with java1.4 from sun ( got it from
http://java.sun.com/j2se/1.4.2/download.html
(self-extracting file (j2sdk-1_4_2_04-linux-i586.bin, 34.17 MB))
I simply do 

yes 'yes' | ./j2sdk-1_4_2_04-linux-i586.bin


regards,
	Holger

On Tue, 2004-08-10 at 09:47, W. Borgert wrote:
> On Tue, Aug 10, 2004 at 10:11:21AM +1000, Nicolas Triantafillou wrote:
> > Does anyone have any suggestions on how to automate the process to get 
> > java installed during a fai build? i've tried expect and not had much 
> > luck with it so far.
> 
> The "one real way" to install Sun Java on Debian is called
> mpkg-j2se (installable from unstable/sid).  You download the
> *.bin files from Sun and make *.deb packages from them using
> the mpkg-j2se command.  During this transition you have to
> agree to the Sun license.  Put the resulting *.debs in your
> FAI package repository and just install - no need to agree
> to license again.  Also, you get a current(!) Java, not the
> old blackdown stuff.  Cool, yeah?
> 
> One minor problem: mpkg-jj2se does not yet handle the
> alternatives (bug #263729).  You have to do this "manually"
> in your FAI recipes.
> 
> Cheers,
> -- 
> W. Borgert <debacle at debian.org>, http://people.debian.org/~debacle/




More information about the linux-fai mailing list