From owner-freebsd-java Wed Oct 6 21:54:35 1999 Delivered-To: freebsd-java@freebsd.org Received: from ns.mt.sri.com (ns.mt.sri.com [206.127.79.91]) by hub.freebsd.org (Postfix) with ESMTP id 0A4D614DEB for ; Wed, 6 Oct 1999 21:54:27 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.9.3/8.9.3) with SMTP id WAA24065; Wed, 6 Oct 1999 22:54:26 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id WAA27766; Wed, 6 Oct 1999 22:54:25 -0600 Date: Wed, 6 Oct 1999 22:54:25 -0600 Message-Id: <199910070454.WAA27766@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: SeRgIo ArTuRo GaRcIa Cc: freebsd-java@FreeBSD.ORG Subject: Re: JNI In-Reply-To: References: X-Mailer: VM 6.34 under 19.16 "Lille" XEmacs Lucid Reply-To: nate@mt.sri.com (Nate Williams) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Im trying to run the example in Java tutorial about JNI, but im getting > the message "unsupported file type (libNativeDemo.so)" when I run the java > program that runs a native method. Which version of the JDK are you running, and which version of FreeBSD are you running? The JDK's binary format must match the format of the OS. (FreeBSD 2.2.* must use A.OUT, and FreeBSD 3.2 or greater must use the ELF version). Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message