From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 16:30:53 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B53C916A4CE for ; Tue, 4 Jan 2005 16:30:53 +0000 (GMT) Received: from male.aldigital.co.uk (male.thebunker.net [213.129.64.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 32BBE43D4C for ; Tue, 4 Jan 2005 16:30:52 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from gravitas.thebunker.net (gateway.ash.thebunker.net [213.129.64.4]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by male.aldigital.co.uk (Postfix) with ESMTP id DDF42977BC; Tue, 4 Jan 2005 16:30:49 +0000 (GMT) Received: from [127.0.0.1] (localhost [127.0.0.1])j04GUi9X071237; Tue, 4 Jan 2005 16:30:46 GMT (envelope-from m.seaman@infracaninophile.co.uk) Message-ID: <41DAC4AD.2080107@infracaninophile.co.uk> Date: Tue, 04 Jan 2005 16:30:37 +0000 From: Matthew Seaman Organization: Infracaninophile User-Agent: Mozilla Thunderbird 1.0 (X11/20041229) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gary Kline References: <20050102211531.GA82339@thought.org> In-Reply-To: <20050102211531.GA82339@thought.org> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig2A4AEFDAF5717BD3E10ED8B0" cc: FreeBSD Mailing List Subject: Re: java question. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 16:30:53 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig2A4AEFDAF5717BD3E10ED8B0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Gary Kline wrote: > On both my 4.10 system (this one: tao) and one on my > 5.3 platforms, I'm *finally* using jdk14. Can I free > up the linux-sun-jdk14 binary and space and yet be > able to build/rebuild everything Java?? Yes. If you use portupgrade, you might get pkgdb complaining about apache-ant or somesuch depending on the linux-sun-jdk14 port, but that can be fixed easily by running 'pkgdb -F'. All of the Java stuff should pretty much "just work"(tm) exactly the same with the native jdk14 port, although there may be one or two things that don't either crash or freeze up with the native JDK... When you remove the linux-sun-jdk port, check /usr/local/etc/javavms for sanity. Also check for environment variables like JAVA_HOME, JDK_HOME or CLASSPATH -- for best results those variables should (probably) be unset. Most Java apps should be using /usr/local/bin/javavm which is a shell script that automatically substitutes whatever your favourite JVM is. Those environment variables will override that behaviour, which is something you only want to do if (a) you know what you're doing and (b) that's what you specifically intend to do. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 8 Dane Court Manor School Rd PGP: http://www.infracaninophile.co.uk/pgpkey Tilmanstone Tel: +44 1304 617253 Kent, CT14 0JL UK --------------enig2A4AEFDAF5717BD3E10ED8B0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iQCVAwUBQdrEtJr7OpndfbmCAQLGvgP/RSPxAO4n18GTZ5LTw0Zf/DF788V7uIar qz1FuME3r7wFbrFFpShKOC3LPPXXX5KjXfFOHWTl/yIF5deaWSNrb2pQsZpLwyyS 5rlYio6txb7f5ggAtMqlGlEUF4HgvEnfxCnK/529AsN0Pc5P5lIQdzLWW8hOk6vm 41NcJdcFI58= =U8pn -----END PGP SIGNATURE----- --------------enig2A4AEFDAF5717BD3E10ED8B0--