From owner-freebsd-java Wed Feb 13 9: 3:35 2002 Delivered-To: freebsd-java@freebsd.org Received: from mail.mstar2.net (mail.mstar2.net [216.126.197.66]) by hub.freebsd.org (Postfix) with ESMTP id 8709B37B402 for ; Wed, 13 Feb 2002 09:03:29 -0800 (PST) Date: Wed, 13 Feb 2002 10:03:32 -0700 Message-Id: <200202131003.AA613089578@mail.mstar2.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii From: "Guerry Semones" Reply-To: X-Sender: To: Subject: Compiling C++ JNI Application with FreeBSD JDK1.3.1 GREEN Threads? Help! X-Mailer: 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 :-), We have a C++ application that we are porting from Windows 2000 to FreeBSD. The application makes calls from C++ to Java classes via JNI and the libjvm.so stuff. We tried linking in the *_g.so libs, as well as the the non-_g.so libs. The application compiles, but upon execution, we get the following message: Cannot open "/usr/local/jdk1.3.1/jre/lib/i386/native_threads/libhpi_g.so"* ** Signal 11 For whatever reason, something is looking for the native_threads directory (which doesn't exist!), rather than the /usr/local/jdk1.3.1/jre/lib/i386/green_threads/libhpi_g.so which does.... We are using pointing to the classic jvm. Also, we'd just as well choose to use native_threads, but we get the impression that they aren't available yet for FreeBSD. Any help would be much appreciated! Thanks in advance, Guerry gsemones@treenleaf.com ________________________________________________________________ Sent via the Mstar2 mail system at mail.mstar2.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message