From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 23:41:08 2004 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D79C616A4CE for ; Sat, 17 Jan 2004 23:41:08 -0800 (PST) Received: from mail.unisoftbg.com (mail.unisoftbg.com [194.12.229.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id AC9D843D55 for ; Sat, 17 Jan 2004 23:41:04 -0800 (PST) (envelope-from freeb@t1.unisoftbg.com) Received: (qmail 21156 invoked by uid 507); 18 Jan 2004 08:46:03 -0000 Received: from unknown (HELO t1.unisoftbg.com) (freeb%t1.unisoftbg.com@194.12.229.193) by 0 with SMTP; 18 Jan 2004 08:46:03 -0000 Message-ID: <400A27D2.5DCE9858@t1.unisoftbg.com> Date: Sun, 18 Jan 2004 07:29:38 +0100 From: "freeb t1 unisoftbg com" X-Mailer: Mozilla 4.03 [en] (Win95; I) MIME-Version: 1.0 To: Matthew Seaman References: <40092BE2.A78AA31A@t1.unisoftbg.com> <20040117154122.GA71989@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: freebsd-java@freebsd.org Subject: Re: sun jdk 1.4.2_02 and freebsd 5.2 X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 07:41:09 -0000 Matthew Seaman wrote: > On Sat, Jan 17, 2004 at 01:34:42PM +0100, freeb t1 unisoftbg 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