Blitz3d SDK in Java

Archives Forums/Blitz3D SDK Programming/Blitz3d SDK in Java

REJLA(Posted 2008) [#1]
I'm trying to use the SDK with java using JNI but i'm getting an "Unsatisfied link error", as if the function names didn't exist. But i'm sure they exist.

I checked the spelling (cases parameter types) of the function and they are all right

package helloB3D;

public final class HelloB3D {
	public static native int bbBeginBlitz3D();
	public static native int bbEndBlitz3D();

	public static void main(String[] args) {
		System.loadLibrary("b3d");
		bbBeginBlitz3D();
		bbEndBlitz3D();
	}
}


the dll is in the "System32" folder


serg2100(Posted 2008) [#2]
As far as i understand it's not that simple: you need to create a c/c++ proxy methods that will interact with blitz sdk and your java program via JNI.


Mahan(Posted 2009) [#3]
It's been a while since the original request but I just wanted to mention that I just finished my wrapper for java:

http://blitzmax.com/Community/posts.php?topic=83956