Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 04 Jan 2005 16:30:37 +0000
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Gary Kline <kline@tao.thought.org>
Cc:        FreeBSD Mailing List <freebsd-questions@FreeBSD.ORG>
Subject:   Re: java question.
Message-ID:  <41DAC4AD.2080107@infracaninophile.co.uk>
In-Reply-To: <20050102211531.GA82339@thought.org>
References:  <20050102211531.GA82339@thought.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?41DAC4AD.2080107>