J
John
Hi,
I have 20 different algorithms that do different things, but have the
same interface. I need to be able to call these algorithms from Java.
I built a Java (JNI) interface for the algorithms. In my app I want to
do something like
public class Alg
{
// native interface functions here
public Alg(string libraryname)
{
System.loadlibrary(libraryname);
}
}
main()
{
Alg alg1 = new Alg("alg1");
Alg alg2 = new Alg("alg2");
}
When I do this, only the first algorithm (alg1) in this case is loaded.
What's the solution?
THANK YOU!!!!
John
I have 20 different algorithms that do different things, but have the
same interface. I need to be able to call these algorithms from Java.
I built a Java (JNI) interface for the algorithms. In my app I want to
do something like
public class Alg
{
// native interface functions here
public Alg(string libraryname)
{
System.loadlibrary(libraryname);
}
}
main()
{
Alg alg1 = new Alg("alg1");
Alg alg2 = new Alg("alg2");
}
When I do this, only the first algorithm (alg1) in this case is loaded.
What's the solution?
THANK YOU!!!!
John