java and FAI

W. Borgert debacle at debian.org
Tue Aug 10 09:47:19 CEST 2004


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