Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-19 Thread Markus Koschany
Control: reassign -1 libnb-platform18-java Hi, As discussed in this bug report and on IRC, I am going to reassign this bug to libnb-platform18-java. We haven't found any hints of embedded jar files. It is strange that the recent change of libjna-java had no effect on Netbeans though. For the

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-18 Thread Markus Koschany
Hi, Am 18.04.2017 um 11:15 schrieb Emmanuel Bourg: > Le 18/04/2017 à 00:07, Emmanuel Bourg a écrit : > >> I'll get another look. > > I wrote a simple test case: > > import com.sun.jna.platform.unix.X11; > public class JNATest { > public static void main(String[] args) throws

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-18 Thread Emmanuel Bourg
Le 18/04/2017 à 00:07, Emmanuel Bourg a écrit : > I'll get another look. I wrote a simple test case: import com.sun.jna.platform.unix.X11; public class JNATest { public static void main(String[] args) throws Exception { System.setProperty("jna.boot.library.name",

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-17 Thread Emmanuel Bourg
Le 17/04/2017 à 17:45, YOSHINO Yoshihito a écrit : > I have upgraded this package, while this error still persists. > Exactly the same error message appears in the netbeans log. > Creating the symlink works around this error. Thank you for the feedback. That's odd because the renamed path of the

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-17 Thread Emmanuel Bourg
Le 17/04/2017 à 23:55, Markus Koschany a écrit : > I'm quite sure that we don't use an embedded jar of JNA somewhere in > Netbeans. Could you try removing the jna jar manually from /usr/share/java to confirm that? > I suspect that Netbeans' System.setProperty does something differently > and

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-17 Thread Markus Koschany
Am 17.04.2017 um 21:08 schrieb Emmanuel Bourg: > Le 17/04/2017 à 17:45, YOSHINO Yoshihito a écrit : > >> I have upgraded this package, while this error still persists. >> Exactly the same error message appears in the netbeans log. >> Creating the symlink works around this error. > > Thank you

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-17 Thread YOSHINO Yoshihito
Package: libjna-jni Followup-For: Bug #858876 Control: reopen -1 Dear Maintainer, Sorry for the delay. I have upgraded this package, while this error still persists. Exactly the same error message appears in the netbeans log. Creating the symlink works around this error. Regards, -- YOSHINO

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-12 Thread Emmanuel Bourg
On 04/11/2017 11:28 PM, Markus Koschany wrote: > I'm sure the upstream developers of Netbeans are all ears for your > proposal. They had set the jna.boot.library.name property to > jnidispatch-410, so I had to change it to jnidispatch to get it working > with Debian's system jar. [1] The

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-12 Thread Markus Koschany
Am 12.04.2017 um 10:31 schrieb Emmanuel Bourg: > On 04/11/2017 11:28 PM, Markus Koschany wrote: [...] >> I beg to differ. I think we should expect that people read the >> documentation. I think we are mainly responsible to ensure that all >> packages in Debian are working well together. It is

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-11 Thread Markus Koschany
Am 11.04.2017 um 22:33 schrieb Emmanuel Bourg: > On 04/11/2017 08:12 PM, Markus Koschany wrote: > >> This issue could be resolved by changing the libary name to >> jnidispatch.system in Netbeans. However I don't understand why we had to >> change the name in the first place. > > Actually

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-11 Thread Emmanuel Bourg
On 04/11/2017 08:12 PM, Markus Koschany wrote: > This issue could be resolved by changing the libary name to > jnidispatch.system in Netbeans. However I don't understand why we had to > change the name in the first place. Actually Netbeans shouldn't have to specify the library name at all.

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-11 Thread Markus Koschany
On Sun, 09 Apr 2017 08:13:00 + Niels Thykier wrote: [...] > Any update on this? This bug is one of the last ~60 RC bugs in key > packages for the stretch release. :) Hi, I had a look at this issue. If we introduce the symlink libjnidispatch.so -> libjnidispatch.system.so

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-04-09 Thread Niels Thykier
On Wed, 29 Mar 2017 02:07:43 +0900 YOSHINO Yoshihito wrote: > Hi Emmanuel, > > On Tue, Mar 28, 2017 at 4:47 PM, Emmanuel Bourg wrote: > > Thank you for the report. The symlink was in the same directory? What > > JRE did you use? > > Yes, in the same

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-03-28 Thread YOSHINO Yoshihito
Hi Emmanuel, On Tue, Mar 28, 2017 at 4:47 PM, Emmanuel Bourg wrote: > Thank you for the report. The symlink was in the same directory? What > JRE did you use? Yes, in the same directory. I use openjdk-8-jre:i386. Regards, -- YOSHINO Yoshihito

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-03-28 Thread Emmanuel Bourg
Le 28/03/2017 à 07:41, YOSHINO Yoshihito a écrit : > Workaround: Creating a symlink libjnidispatch.so -> libjnidispatch.system.so > fixes this error. Hi, Thank you for the report. The symlink was in the same directory? What JRE did you use? Emmanuel Bourg

Bug#858876: libjna-jni: causes NoClassDefFoundError

2017-03-27 Thread YOSHINO Yoshihito
Package: libjna-jni Version: 4.2.2-2 Severity: grave Justification: renders package unusable Dear Maintainer, netbeans with native look and feel enabled fails to look up libjnidispatch.so: INFO [org.netbeans.core.nativeaccess.NativeWindowSystemImpl] java.lang.NoClassDefFoundError: Could not