From: Jan F. <jan...@st...> - 2001-03-21 11:16:34
|
Hello! Thanks for your advice. But now this is getting definitely weird. I have copied all *.dlls belonging to GL4Java to my \Windows\System32 directory. Most of the unsatisfied link errors have gone away, but one still remains: Sorry, can't find the library: GL4JavaJauGljJNI13 java.lang.UnsatisfiedLinkError: C:\Program Files\JBuilder4\jdk1.3\jre\bin\GL4JavaJauGljJNI13.dll: One of the library files needed to run this application cannot be found GLCanvas could not load def. native libs. This is very strange because this DLL file (GL4JavaJauGljJNI13.dll) actually DOES exist in the directory displayed by the error, in C:\Windows\System32 and in some other directories. I don't know what else I could try. I have already copied all the Gl4Java-DLLs to a number of directories: - C:\jdk1.3\jre\bin - C:\Program Files\JavaSoft\JRE\1.3\bin - C:\Program Files\JavaSoft\JRE\1.3.0_01\bin - C:\Program Files\JBuilder4\jdk1.3\jre\bin - C:\Windows\System32 Moreover, I have set the Java VM parameter -Djava.libary.path to include the above directories. Nonetheless, GL4Java keeps complaining about missing DLLs although these files DO reside in those very directories... Jan > I had a similar problem. Try searching for GL4JavaJauGLJNI12.dll on your > hard drive (where you installed GL4Java). Then copy this DLL into your > System32 directory. > > Julia > > I am new to Gl4Java and I am trying to make it work on Windows. I have > > tried to compile simple GL4Java applets using the JDK1.3 and JBuilder4. > > In both cases I always get lots of dynamic link errors like: > > > > java.lang.UnsatisfiedLinkError: C:\Program > > Files\JBuilder4\jdk1.3\jre\bin\GL4JavaJauGljJNI13.dll: One of the > > library files needed to run this application cannot be found > > > > Sorry, can't find the library: GL4JavaJauGLJNI12 |
From: Max G. <gi...@li...> - 2001-03-21 18:14:57
|
Jan Fischer wrote: > GLCanvas could not load def. native libs. Could this be that it can't find OpenGL libs? GLCanvas calls GLContext.loadNativeLibraries(...) which loads both GL4J native libs and OpenGL native libs. HTH, Max -- ----------------------------------------------------------- -- Max Gilead --- gi...@li... -- -- XMage library --- http://xmage.sourceforge.net -- ----------------------------------------------------------- -- Any system that depends on reliability is unreliable. -- -- --- Nogg's postulate -- |
From: Steven H. <hu...@fa...> - 2001-03-21 18:52:06
|
I had the same problem, but only with 2.6.0. Version 2.5.0 has been working fine under Windows 98 and JDK 1.3. Must be the new way the native libs are loaded? Max Gilead wrote: > > Jan Fischer wrote: > > > GLCanvas could not load def. native libs. > > Could this be that it can't find OpenGL libs? GLCanvas calls > GLContext.loadNativeLibraries(...) which loads both GL4J native libs and > OpenGL native libs. > > HTH, > Max |
From: Jan F. <jan...@st...> - 2001-03-21 20:27:10
|
Hi! Thanks a lot! This did the trick. Jan > I had the same problem, but only with 2.6.0. Version 2.5.0 has been > working fine under Windows 98 and JDK 1.3. Must be the new way the > native libs are loaded? > > > GLCanvas could not load def. native libs. |
From: Jiba <a1...@So...> - 2001-04-06 12:46:39
|
Jan Fischer wrote: > Sorry, can't find the library: GL4JavaJauGljJNI13 > java.lang.UnsatisfiedLinkError: C:\Program > Files\JBuilder4\jdk1.3\jre\bin\GL4JavaJauGljJNI13.dll: One of the > library files needed to run this application cannot be found I've the same problem... I think this error message doesn't want to say that GL4JavaJauGljJNI13.dll was not found. It's rather another lib that is used by GL4JavaJauGljJNI13.dll, and that cannot be found. > GLCanvas could not load def. native libs. A11W |
From: Sven G. <sgo...@ja...> - 2001-04-06 13:47:05
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 05 April 2001 13:53, Jiba wrote: > Jan Fischer wrote: > > Sorry, can't find the library: GL4JavaJauGljJNI13 > > java.lang.UnsatisfiedLinkError: C:\Program > > Files\JBuilder4\jdk1.3\jre\bin\GL4JavaJauGljJNI13.dll: One of the > > library files needed to run this application cannot be found > > I've the same problem... > > I think this error message doesn't want to say that > GL4JavaJauGljJNI13.dll was not found. > It's rather another lib that is used by GL4JavaJauGljJNI13.dll, and that > cannot be found. > > > GLCanvas could not load def. native libs. > > A11W > well, have a look what i have brought :-) version 2.7.0 only uses _one_ native library, _and_ the gl/gl/[wgl|glx] stuff is complete loaded at runtime dynamically ! (you can switch the gl/glu libs by argument or environment variable) so .. just give it a try. cheers, sven > > _______________________________________________ > gl4java-usergroup mailing list > gl4...@li... > http://lists.sourceforge.net/lists/listinfo/gl4java-usergroup - -- mailto:sgo...@ja... www : http://www.jausoft.com ; pgp: http://www.jausoft.com/gpg/ voice : +49-521-2399440; fax: +49-521-2399442; icq-uin: 108264795 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE6zciMHdOA30NoFAARAjJ0AJ0cJdi2di4eTXSXiFB/BhSqfUIAewCglo7F SO+4P38QGCzyNCxuhWPcaUE= =1i3g -----END PGP SIGNATURE----- |