I apologize that this isn't a specifically Linux-related question.
I'm working on a project involving several servlets and other classes,
organized in multiple java packages, and I don't think I've figured
out the ideal way to structure my directories. This is a web-based
application, so in addi
> Try 'javah -jni fit.FitNative' and it will work.
By Jove, you're right...
In fact, I had tried that before but I hadn't noticed that the resulting
filename was "fit_FitNative.h", so I was still looking at the previous
FitNative.h that I had generated.
Thanks,
Solomon
--
Solomon <|> [EMAIL
I'm finding that Blackdown javah version 1.2 is generating C
prototypes that are missing the package name.
In particular, I have the following in "FitNative.java":
package fit;
public class FitNative
{
static native String realName(String username)
throws NoSuchUserException
I'm having trouble loading a JNI library from a nonstandard location.
I'm using the following code:
static {
System.setProperty("java.library.path",
System.getProperty("java.library.path") +
":/home/srcd/foo");
System.err.println(System.getP