Date: Sat, 17 Jan 2004 15:41:22 +0000 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: "freeb <at> t1 <dot> unisoftbg <dot> com" <freeb@t1.unisoftbg.com> Cc: freebsd-java@freebsd.org Subject: Re: sun jdk 1.4.2_02 and freebsd 5.2 Message-ID: <20040117154122.GA71989@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <40092BE2.A78AA31A@t1.unisoftbg.com> References: <40092BE2.A78AA31A@t1.unisoftbg.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Sat, Jan 17, 2004 at 01:34:42PM +0100, freeb <at> t1 <dot> unisoftbg <dot> com wrote:
> I try to check if it is possible to migrate from linux ( RedHat AS 3) to
> freebsd.
>
> I am using very intensive java (jboss + tomcat).
>
> I installed freebsd 5.2 and try to make some tests with java.
>
> I prefer the sun release because sun is the java founder, but if it is a
> problem I can change this one.
The consensus is that the native Java ports will give you the best
stability and performance. The JDK-1.4.2 will do the best, but you're
going to have to manually get the sources from Sun, plus the required
bsd-patchfiles from eyesbeyond.com (Sun licensing restrictions mean
you can't download stuff automatically), then compile everything
yourself. That takes quite a time and needs something like 1.7Gb free
disk space available. It also requires a working copy of one of the
linux JDKs in order to bootstrap the build process.
An alternative is to install the Diablo JDK or JRE, which are
pre-compiled native code, but only Java 1.3.1 and they have to run in
FreeBSD 4.x compatability mode.
> Ok, after install I just go to /usr/ports/linux-sun-jdk14 and readet the
> readme.
>
> I installed the java without any problem (reported error), but if I try
> to run java --version (just to be sure that it is the version), the jdk
> hangs. It still running as process (I see it with top).
I think you meant:
% java -version
Kill the hung java process -- you'll probably need to 'kill -9' it.
Make sure you've got linprocfs mounted as instructed in
/usr/ports/java/linux-sun-jdk14/pkg-message, and try again.
Cheers,
Matthew
--
Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks
Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614 Bucks., SL7 1TH UK
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFACVeidtESqEQa7a0RAglKAJ9dyCcvgQ19j3nMPJj/3EIwxq0OrgCfW+k2
Zi+MwumSPEZ7YjqJP272TLk=
=uFhz
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040117154122.GA71989>
