Subject: Re: JDK vs Sun-JDK
To: David Friggens <david.friggens@vuw.ac.nz>
From: Jim Wise <jwise@draga.com>
List: netbsd-help
Date: 05/02/2002 16:29:43
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 2 May 2002, David Friggens wrote:

>Is it possible to install both the jdk and sun-jdk13 packages?
>
>I want to have sun-jdk13 to use Java2, but I also want nhc, which depends on
>jdk.
>
>When I `make install' one on top of the other it halts and says something
>about them both writing files to the same place.

If you set the variable PKG_JVM to "sun-jdk" in /etc/mk.conf, the sun
jdk will be used for all correctly written packages, instead of the
native JVM.

Of course, you will need to be running on i386 and have linux emulation
enabled in your kernel for this to work.

Other valid values of PKG_JVM are blackdown-jdk13 to use the blackdown
linux jdk on powerpc systems (the default on those systems), `jdk' to
use the native jdk (the default on i386), or 'kaffe', to use the kaffe
jvm environment, though this currently does not support very many
packages.

- -- 
				Jim Wise
				jwise@draga.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (NetBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE80aG6N71lEcOYcw4RAopkAJ9+I8L3NF5W9/Wb+qU9ScieY/i0AACfYj6C
zF9aA9QW+l/nw3WHUpM/YyQ=
=q2Ix
-----END PGP SIGNATURE-----