From owner-freebsd-java Thu Mar 28 4:36:23 2002 Delivered-To: freebsd-java@freebsd.org Received: from smtp.hccnet.nl (smtp.hccnet.nl [62.251.0.13]) by hub.freebsd.org (Postfix) with ESMTP id 4F17C37B405; Thu, 28 Mar 2002 04:36:17 -0800 (PST) Received: from there by smtp.hccnet.nl via uds114-60.dial.hccnet.nl [62.251.60.114] with SMTP id NAA09916 (8.8.8/1.13); Thu, 28 Mar 2002 13:36:04 +0100 (MET) Message-Id: <200203281236.NAA09916@smtp.hccnet.nl> Content-Type: text/plain; charset="iso-8859-1" From: Ernst de Haan Organization: FreeBSD Project To: Cedric Berger Subject: Re: bsd.java.mk is here! Date: Thu, 28 Mar 2002 13:34:48 +0100 X-Mailer: KMail [version 1.3.2] Cc: java@FreeBSD.ORG, ports@FreeBSD.ORG References: <200203281130.MAA29406@smtp.hccnet.nl> <3CA30EC0.4020302@wireless-networks.com> In-Reply-To: <3CA30EC0.4020302@wireless-networks.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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