[sdljava-users] problem with the installation of SDLJava.
Status: Beta
Brought to you by:
ivan_ganza
From: mathieu <mat...@ce...> - 2005-09-29 11:28:33
|
Hi! I'm a newbie with sdljava and i've some difficulties to install it. After many hours it still doesn't work despite all the topics i've readen about this subject. i'm using win XP and Eclipse. My VM argument configured in eclipse is "-Djava.library.path=D:\SDL\lib" and in this repertory there is 'SDL.DLL' , SDLjava.dll',... In ".\java\lib" i put the jar files of sdljava and finally SDL.DLL is in my 'system32' repertory. i do my tests under Eclipse with the code : package testSDL; import sdljava.SDLMain; public class SDLMainTest { static { System.out.println("test0"); System.loadLibrary("SDLjava"); System.out.println("test1"); } public static void main(String[] args) { try { System.out.println("test2"); SDLMain.init(SDLMain.SDL_INIT_EVERYTHING); System.out.println("INIT OKAY!"); } catch (Exception e) { System.out.println("INIT FAILED!"); e.printStackTrace(); } } } the result is : test0 test1 test2 Native code library failed to load. java.lang.UnsatisfiedLinkError: no sdljava in java.library.path I tried a lot of thinks ... without results... Please help me, i'm deseperate ! :) (ps : sorry for my poor english, i'm French :-) ) |