JBoss5 port failure (Was: no subject)
Jonathan Chen
jonc at chen.org.nz
Thu Dec 31 11:02:33 UTC 2009
On Thu, Dec 31, 2009 at 11:21:47AM +0100, Ronald Klop wrote:
> On Thu, 31 Dec 2009 01:39:27 +0100, Mike Harding <mvh at ix.netcom.com> wrote:
>
> >I removed all of the jdks except openjdk, and jboss5 does install and
> >run. Thanks you all - how do I select the jdk to use for a port if I
> >have multiple ones installed?
>
> Not sure, but this could do it.
> # export JAVA_HOME=/usr/local/openjdk6
> # cd /usr/ports/../..
> # make ...
>
> It depends on how the port detects the JVM.
Try adding the following line to /etc/make.conf:
JAVA_PREFERRED_PORTS=JAVA_PORT_NATIVE_OPENJDK_JDK_1_6
Cheers.
--
Jonathan Chen | To do is to be -- Nietzsche
<jonc at chen.org.nz> | To be is to do -- Sartre
| Scooby do be do -- Scooby
More information about the freebsd-java
mailing list