Re: [sdljava-users] SDLJava.dll not found
Status: Beta
Brought to you by:
ivan_ganza
From: Sam H. <bro...@gm...> - 2009-05-25 21:50:48
|
That got it going. I placed the dll files from <Path to sdljava>/lib into the jre and jdk bin files. Thank you for your help, sir! On Mon, May 25, 2009 at 12:13 PM, Chris Dennett <Des...@nt...> wrote: > 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 >> >> > > > ------------------------------------------------------------------------------ > 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 > -- -Sam Joseph Hobson |