Date: Mon, 22 Feb 1999 03:53:44 -0500 (EST) From: Jonathan Kaplan <kaplanj@force.stwing.upenn.edu> To: freebsd-java@freebsd.org, java-port@freebsd.org Subject: jni problem in FreeBSD 3.0 Message-ID: <Pine.GSO.4.04.9902220256160.27533-100000@force.stwing.upenn.edu>
next in thread | raw e-mail | index | archive | help
I am trying to use the Java Native interface with FreeBSD 3.0 and jdk-1.1.7. The error I get is "bad magic number", which makes sense because everything but java in 3.0 is ELF. So my question is: 1) Is there an easy way to build compatible libraries with the standard 3.0 installation (a switch to ld or something)? I have toyed with building a cross-compiling gcc, but AFAIK that involves building the support libraries I rely on (SSLeay in particular) as a.out, and so on, which is difficult. 2) If not, is there an ELF version of the JDK without awt? (since, as I understand, Motif is the big sticking point in an ELF version) I have also tried the Linux emulator, but it dies with "Bad System Call" during a call to ServerSocket.accept() (which I assume is unrelated to native stuff). If anyone has succeded in using JNI under 3.0, and has a Makefile or something, it would be great. Thanks in advance, -Jon __________________________________________________________________________ Jonathan Kaplan kaplanj@stwing.upenn.edu Computer Science '00 Quadramics Chair University of Pennsylvania SwitchWare Project "It's not so bad being trendy, everyone who looks like me is my friend" -Reel Big Fish http://www.stwing.upenn.edu/~kaplanj/ 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?Pine.GSO.4.04.9902220256160.27533-100000>