Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 07:29:38 +0100
From:      "freeb <at> t1 <dot> unisoftbg <dot> com" <freeb@t1.unisoftbg.com>
To:        Matthew Seaman <m.seaman@infracaninophile.co.uk>
Cc:        freebsd-java@freebsd.org
Subject:   Re: sun jdk 1.4.2_02 and freebsd 5.2
Message-ID:  <400A27D2.5DCE9858@t1.unisoftbg.com>
References:  <40092BE2.A78AA31A@t1.unisoftbg.com> <20040117154122.GA71989@happy-idiot-talk.infracaninophile.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help


Matthew Seaman wrote:

> 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

I do not found it on eyesbeyond.com. Where to search ?


> (Sun licensing restrictions mean
> you can't download stuff automatically), then compile everything
> yourself.

Any docs about this?

> That takes quite a time and needs something like 1.7Gb free
> disk space available.

Ok.

>  It also requires a working copy of one of the
> linux JDKs in order to bootstrap the build process.
>

Ok.

> 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.
>

It is not a solution fo me.On linux I compared the 1.3.x/1.4.2 performance and 1.4.2 give me 40% more.

> > 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
>
>                                                   ------------------------------------------------------------------------
>
>    Part 1.2   Type: application/pgp-signature





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?400A27D2.5DCE9858>