Hello.
I'm running a JSP based Web aplicacion using Tomcat wich uses a Java Class
that loads a
native library (JNI).
The files are created as follows:
javac extractor/HTDInterface.java
javah extractor.HTDInterface
then I compile my c++ source code with the header file
Then I made a script to start the tomcat with the LD_LIBRARY_PATH
environment variable set up:
-
#!/bin/sh
export JAVA_HOME=/opt/java
export CATALINA_HOME=/usr/local/jakarta-tomcat
export PATH=${JAVA_HOME}/bin:${PATH}
export
Briotti [EMAIL PROTECTED]
Reply-To: Tomcat Users List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: TOMCAT and JNI problem... Date: Mon, 26 Jan 2004 17:29:02
+0100 (CET)
Then I made a script to start the tomcat with the LD_LIBRARY_PATH
environment variable set up
: TOMCAT and JNI problem...
Hello.
I'm running a JSP based Web aplicacion using Tomcat wich
uses a Java Class
that loads a
native library (JNI).
The files are created as follows:
javac extractor/HTDInterface.java
javah extractor.HTDInterface
then I compile my c