Java on FreeBSD 4.8

Kay Abendroth kay.abendroth at raxion.net
Thu Nov 2 10:32:46 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



Michael Matczynski wrote:
> Thanks for the prompt replies!
> 
> The system I'm working on doesn't grant access to /usr/ports.  Is it
> possible to obtain the jdk14 package and build in a local directory?
> 
[...]


Well, without /usr/ports it will be difficult:

	1.) Since you have to deal with 4.8 you can't use
	    Java JDK and JRE 5.0 Update 7 binaries from
	    www.freebsdfoundation.org .

	2.) So you have to built from source and this means
	    bootstrap.

	3.) Bootstrapping means Linux support on your FreeBSD-
	    machine. Does your machine have Linux-Emulation
	    enabled[1]? If the answer is no here, and you can't
	    turn it on (which I believe since you have no
	    access to /usr/ports), you can't install Java.

	4.) Otherwise you probably should download [2] and build/
	    install everything needed in your home directory.
	    Make sure you set the following make variables to
	    suite your special situation:
		PORTSDIR	(e.g. /usr/home/max/ports)
		DESTDIR		(e.g. /usr/home/max/test).

Since I never tried that, I can't say for sure, if it works.


Good luck ;-)
Kay


[1] For instance output of `df` should contain a line like this:
    linprocfs      4.0K    4.0K      0B   100%    /usr/compat/linux/proc

[2] ftp://ftp.freebsd.org/pub/FreeBSD/ports/ports-stable/ports.tar.gz


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)

iQEVAwUBRUnJC/6xkxz4DngiAQhL6Qf+MhWgqjJa6TsmRpm+1tBL4eL8B7SfXIHO
ZA1C9ayMrlNuHyFOACG4l2gTW8iny61WIPdG4GH768KgfdpHPB3mo0JpidHc/pEE
mc36mn0c9XK5L/xtpeMsIvIlIQrLYksbDH/YV+/ILhB9ARffFlx1TME34L4jY2I/
g/l+mfAfFrLHOq3SSsNzvkDFPPx4ckuzidi1BHP5g89Vav9PmTrrWf91cu4EsuBy
mjkConnYyoxtS5HIJ2VrRflyBQwIa/PYyRZVb4peruuKGfVeM/OEUiUZi6nlz38W
/oMwa8dokC5JQHprrHe2kQVVHmEmw72Vsn6JsoIcoVh+5hl02/gEPQ==
=Vh97
-----END PGP SIGNATURE-----


More information about the freebsd-java mailing list