Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2002 13:34:48 +0100
From:      Ernst de Haan <znerd@FreeBSD.org>
To:        Cedric Berger <cedric@wireless-networks.com>
Cc:        java@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: bsd.java.mk is here!
Message-ID:  <200203281236.NAA09916@smtp.hccnet.nl>
In-Reply-To: <3CA30EC0.4020302@wireless-networks.com>
References:  <200203281130.MAA29406@smtp.hccnet.nl> <3CA30EC0.4020302@wireless-networks.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Cedric,


> Just a question: If I write a port that uses JNI and native code, is
> that possible to specify
> something like: I want a 1.2+ *native* JVM (as opposed to a linux emu)?

Well, it *is* possible to say that you want a specific JVM port, like 
java/jdk13 or java/jdk12 (both FreeBSD JVM's). It is *not* possible to 
specify that you want a FreeBSD 1.2+ JDK.

This functionality could be added though. Perhaps using a format like the 
following:

   USE_JAVA=   FreeBSD-1.2+

Or:

   USE_JAVA=   1.2+
   JAVA_OS=    FreeBSD

Already you get the Java OS of the JVM back in JAVA_OS, see the 'Writing' 
document (http://www.metaverse.nl/~ernst/writing.html).

> Also, is that possible to say: I need any 1.3+ VM running with *native*
> thread, as
> opposed to green threads?

Nope. Is this really necessary to add to bsd.java.mk ? And what if a single 
port offers both ?


Ernst

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-java" in the body of the message




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