Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Nov 2006 11:31:39 +0100
From:      Kay Abendroth <kay.abendroth@raxion.net>
To:        Michael Matczynski <mjm@alum.mit.edu>
Cc:        freebsd-java@freebsd.org
Subject:   Re: Java on FreeBSD 4.8
Message-ID:  <4549C90B.20700@raxion.net>
In-Reply-To: <fd1b39eb0611011130n76577c05oecd4e4a544789d90@mail.gmail.com>
References:  <fd1b39eb0611011033m752af377xaae34267ce29feb0@mail.gmail.com>	<fa47cf900611011057m22c998f0y2cdf6eea36d40ead@mail.gmail.com>	<4548EFE8.9070705@raxion.net> <fd1b39eb0611011130n76577c05oecd4e4a544789d90@mail.gmail.com>

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4549C90B.20700>