Re: UnsatisfiedLinkError: jogamp.nativewindow.jawt
Posted by
gouessej on
Feb 26, 2016; 12:34pm
URL: https://forum.jogamp.org/RE-OPEN-UnsatisfiedLinkError-jogamp-nativewindow-jawt-tp4036242p4036369.html
You have to ensure that you use a 64-bit JVM with the 64-bit native libraries but JogAmp isn't responsible for your custom loader. If your loader "sees" the wrong native libraries and load them, it can't work, i.e the native libraries must match with the Java libraries.
I advise you to split your problem into 2 smaller ones. At first, use a version of Jzy3D modified to work with JOGL 2.3.2 without your custom loader (it works, Martin can confirm it). Then, fix your bug(s) in your own custom loader.
Reminder: If you really want to load the libraries by yourself, you must do it very early before JogAmp initialization and you might have to load some native dependencies (especially for AWT). It can become very tricky very fast. If I were you, I would rather tell us why you need a custom loader and maybe do a request for enhancement to get something that fits into your needs instead of reinventing the wheel in worse. For example, I'd like to get an automated native library loading without a cache, typically for environments in which you can't create a temporary directory except in the one you already use for your own software.