From owner-freebsd-java@FreeBSD.ORG Sat Jan 17 07:41:33 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 B113F16A4CE for ; Sat, 17 Jan 2004 07:41:33 -0800 (PST) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 593A543D2D for ; Sat, 17 Jan 2004 07:41:30 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i0HFfNfn044280 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 17 Jan 2004 15:41:23 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i0HFfN5q044279; Sat, 17 Jan 2004 15:41:23 GMT (envelope-from matthew) Date: Sat, 17 Jan 2004 15:41:22 +0000 From: Matthew Seaman To: "freeb t1 unisoftbg com" Message-ID: <20040117154122.GA71989@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: "freeb t1 unisoftbg com" , freebsd-java@freebsd.org References: <40092BE2.A78AA31A@t1.unisoftbg.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gKMricLos+KVdGMg" Content-Disposition: inline In-Reply-To: <40092BE2.A78AA31A@t1.unisoftbg.com> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk 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: Sat, 17 Jan 2004 15:41:33 -0000 --gKMricLos+KVdGMg Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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. >=20 > I am using very intensive java (jboss + tomcat). >=20 > I installed freebsd 5.2 and try to make some tests with java. >=20 > 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. =20 > Ok, after install I just go to /usr/ports/linux-sun-jdk14 and readet the > readme. >=20 > 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 --=20 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 --gKMricLos+KVdGMg Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFACVeidtESqEQa7a0RAglKAJ9dyCcvgQ19j3nMPJj/3EIwxq0OrgCfW+k2 Zi+MwumSPEZ7YjqJP272TLk= =uFhz -----END PGP SIGNATURE----- --gKMricLos+KVdGMg--