Requiring a native VM

Joe Marcus Clarke marcus at FreeBSD.org
Mon Jan 5 08:40:19 PST 2004


On Mon, 2004-01-05 at 11:40, Greg Lewis wrote:
> On Sat, Jan 03, 2004 at 03:49:36PM -0500, Joe Marcus Clarke wrote:
> > Is there a way to force a port to require a native JVM?  I am porting
> > the new Java-GNOME API, and they include compiled JNI code.  This won't
> > work if you're using a Linux VM.  I'd like to be able to force users to
> > have a native FreeBSD VM.  Thanks.
> 
> I don't think this is very easy with the current bsd.java.mk.  There has
> been some work on a replacement which I believe would make this easy, but
> that hasn't been committed yet :(.  Do you need specific version of the
> JDK, e.g. 1.3 or better?

Java-GNOME needs 1.2 or higher.  Right now, I'm using:

USE_JAVA=	1.2+

But it would be nice to do:

USE_NATIVE_JAVA=	1.2+

And be sure users won't be bitten by a library format error.  Thanks for
the response.

Joe

-- 
Joe Marcus Clarke
FreeBSD GNOME Team	::	marcus at FreeBSD.org
gnome at FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-java/attachments/20040105/eb9da5c2/attachment.bin


More information about the freebsd-java mailing list