Re: [sdljava-users] SDLJava.dll not found
Status: Beta
Brought to you by:
ivan_ganza
From: Chris D. <Des...@nt...> - 2009-05-25 17:13:43
|
Does the path include the DLL or stop at the directory it is contained within? It should really be the latter. Also, you might want to try putting the DLL inside C:\Program Files\Java\{JRE/JDK}\bin\ and C:\Program Files\Java\{JDK}\jre\bin\. I'd advise putting the SDL libraries in these directories too (if required). Cheers, Chris On 25/05/09 08:03 AM, Sam Hobson wrote: > Hello. > > I am having trouble getting SDLJava to work in my projects due to the > fact that it has trouble finding SDLJava.dll. I have included the > library and paths, and ran the project from both netBeans and > JCreator, but neither will work and both give me the same error. > > Native code library failed to load. > java.lang.UnsatisfiedLinkError: > C:\sdljava-0.9.1-win32-bin\sdljava-0.9.1\lib\SDLJava.dll: A dynamic > link library (DLL) initialization routine failed > > I have already set the path with -Djava.library.path=<PATH_TO_DLL>, > but it still doesn't work. > > Any help would be much appreciated. > > -- > -Sam Joseph Hobson > > ------------------------------------------------------------------------------ > Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT > is a gathering of tech-side developers& brand creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, Processing,& > iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian > Group, R/GA,& Big Spaceship. http://www.creativitycat.com > _______________________________________________ > sdljava-users mailing list > sdl...@li... > https://lists.sourceforge.net/lists/listinfo/sdljava-users > > |