Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 1999 22:54:25 -0600
From:      Nate Williams <nate@mt.sri.com>
To:        SeRgIo ArTuRo GaRcIa <ser-garc@uniandes.edu.co>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: JNI
Message-ID:  <199910070454.WAA27766@mt.sri.com>
In-Reply-To: <Pine.GSO.3.96.991006222144.20458A-100000@isis>
References:  <Pine.GSO.3.96.991006222144.20458A-100000@isis>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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




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