Re: Exception in thread "WindowsNativeRunloopThread" java.lang.NoSuchMethodError
Hi, did you try the suggested work-around by adding something like this to the launch parameters of your bundled application? -Djava.library.path=C:/go-out-of-my-way Michael Am 16.09.19 um 09:57 schrieb Andrea Vacondio: Hi, I'm trying to get some attention on this issue https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8231015 My application, PDFsam Basic, is a self contained javafx application with a bundled jlinked AdoptOpenJDK 11.0.4, it has 5 or 6k new users every day and very few of them are affected by this issue. In short, on Windows, the bundled jvm tries to load some dll from a JVM installed on the system. This is similar to https://stackoverflow.com/questions/52906570/javafx-11-using-maven-throws-exception-windowsnativerunloopthread and http://mail.openjdk.java.net/pipermail/openjfx-dev/2018-October/022713.html but in my case there is no IDE involved, no Eclipse, no Maven. My bug report has been quickly dismissed as "This is caused by a configuration error on the developers machine. Closing as "Not an issue"". I can't reply on that issue to ask details so I was hoping I could can get some help here. I am talking about users (not developers) with a java runtime on their machine, they download my MSI, install it, double click the .exe (a launch4j created exe that basically runs a java -jar using the bundle AdoptOpenJDK) and they get the exception because the jdk tries to load a dll from a wrong location. I am sure it's probably some "configuration error on the user machine" but these are not techy users tweaking around and messing with the registry, for some of them is hard to figure how to uninstall java. Unfortunately I cannot reproduce it on my machines. Any idea of what "configuration error" could cause this behavior? Thanks for the help Andrea
Re: Exception in thread "WindowsNativeRunloopThread" java.lang.NoSuchMethodError
Hello, We had the same issues and fixed it by putting the correct ddl's in the bundled java runtime bin directory (we outpacked them from the javafx distribution). This is the first place, where the ddl's are being searched. Best regards, Thimo Andrea Vacondio schrieb am Mo., 16. Sep. 2019, 09:57: > Hi, > I'm trying to get some attention on this issue > https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8231015 > My application, PDFsam Basic, is a self contained javafx application with a > bundled jlinked AdoptOpenJDK 11.0.4, it has 5 or 6k new users every day and > very few of them are affected by this issue. In short, on Windows, the > bundled jvm tries to load some dll from a JVM installed on the system. This > is similar to > > https://stackoverflow.com/questions/52906570/javafx-11-using-maven-throws-exception-windowsnativerunloopthread > and > http://mail.openjdk.java.net/pipermail/openjfx-dev/2018-October/022713.html > but in my case there is no IDE involved, no Eclipse, no Maven. > My bug report has been quickly dismissed as "This is caused by a > configuration error on the developers machine. Closing as "Not an issue"". > I can't reply on that issue to ask details so I was hoping I could can get > some help here. > I am talking about users (not developers) with a java runtime on their > machine, they download my MSI, install it, double click the .exe (a > launch4j created exe that basically runs a java -jar using the bundle > AdoptOpenJDK) and they get the exception because the jdk tries to load a > dll from a wrong location. I am sure it's probably some "configuration > error on the user machine" but these are not techy users tweaking around > and messing with the registry, for some of them is hard to figure how to > uninstall java. > Unfortunately I cannot reproduce it on my machines. > Any idea of what "configuration error" could cause this behavior? > Thanks for the help > Andrea > >
Exception in thread "WindowsNativeRunloopThread" java.lang.NoSuchMethodError
Hi, I'm trying to get some attention on this issue https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8231015 My application, PDFsam Basic, is a self contained javafx application with a bundled jlinked AdoptOpenJDK 11.0.4, it has 5 or 6k new users every day and very few of them are affected by this issue. In short, on Windows, the bundled jvm tries to load some dll from a JVM installed on the system. This is similar to https://stackoverflow.com/questions/52906570/javafx-11-using-maven-throws-exception-windowsnativerunloopthread and http://mail.openjdk.java.net/pipermail/openjfx-dev/2018-October/022713.html but in my case there is no IDE involved, no Eclipse, no Maven. My bug report has been quickly dismissed as "This is caused by a configuration error on the developers machine. Closing as "Not an issue"". I can't reply on that issue to ask details so I was hoping I could can get some help here. I am talking about users (not developers) with a java runtime on their machine, they download my MSI, install it, double click the .exe (a launch4j created exe that basically runs a java -jar using the bundle AdoptOpenJDK) and they get the exception because the jdk tries to load a dll from a wrong location. I am sure it's probably some "configuration error on the user machine" but these are not techy users tweaking around and messing with the registry, for some of them is hard to figure how to uninstall java. Unfortunately I cannot reproduce it on my machines. Any idea of what "configuration error" could cause this behavior? Thanks for the help Andrea