From owner-freebsd-java Fri Aug 17 20:19:27 2001 Delivered-To: freebsd-java@freebsd.org Received: from daedalus.cs.brandeis.edu (daedalus.cs.brandeis.edu [129.64.3.179]) by hub.freebsd.org (Postfix) with ESMTP id 4754E37B403 for ; Fri, 17 Aug 2001 20:19:25 -0700 (PDT) (envelope-from meshko@daedalus.cs.brandeis.edu) Received: from localhost (meshko@localhost) by daedalus.cs.brandeis.edu (8.9.3/8.9.3) with ESMTP id XAA11664; Fri, 17 Aug 2001 23:19:21 -0400 Date: Fri, 17 Aug 2001 23:19:21 -0400 (EDT) From: Mikhail Kruk To: Brian Skrab Cc: Subject: Re: FBSD 4.4-RC && Linux JDK 1.3.1 && JNI ??? In-Reply-To: <20010817230420.B87454-100000@pinky.us.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 > Anyone know the secret incantations to make JNI work with a Linux > JDK? Any pointers, tips, or *examples* are very much appreciated. I'm afraid you'd have to compile your C code on a Linux box. Then you will move the resulting file on the FreeBSD box and brandelf -t Linux jnitest.so You might be able to do a sort of cross-platfrom Linux compile on FreeBSD, but I have no clue how to go about that. You may want to install jdk1.2.2 from the source to save yourself from the trouble of using two systems. You may also find out that everything I said here is wrong :) Hope not. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message