Hey Efrem, what do you mean exactly? Installed are JDK 1.8-131, 9.0.4, 10.0.1 & 10.0.2 and 11.0.2 The Instance of NetBeans, where my plugin will be installed runs on JDK 11.0.2. Highest version is 11.0.2, no JDK 12 or 13. And for building my plugin, I’m using JDK 9 and also tried 11.
And here is the info about the environment of the Instance which runs, when I run my plugin: Product Version: Apache NetBeans IDE 11.1 Java: 11.0.2; Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS Runtime: Java(TM) SE Runtime Environment 11.0.2+9-LTS System: Windows 10 version 10.0 running on amd64; Cp1252; de_DE (nb) User directory: C:\Projekte\Netbeans Plugins\NbScratchFile\target\userdir Cache directory: C:\Projekte\Netbeans Plugins\NbScratchFile\target\userdir\var\cache Cheers Chris Von: Efrem Mc Gesendet: Donnerstag, 17. Oktober 2019 22:54 An: dev@netbeans.apache.org Betreff: Re: Plugin doesn't work while using html4j/javafx wrappers Hi what Java version are using for testing? I need to update my Java version, I am running 10.0.2. I believe I saw Java 13 SDK/JRE for the SE edition? Efrem On Thu, Oct 17, 2019 at 12:01 PM Christian Lenz <christian.l...@gmx.net> wrote: > Hey guys, > > regarding to this ticket here: > https://issues.apache.org/jira/browse/NETBEANS-3185 > > I have the same problem with my own plugin which uses html4j stuff. > Jaroslav Tulach already knows the plugin, he rewrote some code months > (maybe 1 year) ago to fit better with html4j and no direct dependency to > the WebView of javafx. After I changed from building it wih JDK 1.8 and > want to use JDK >= 9.0 I have the same problem with the warning, already > mentioned in the ticket: > > „Warning - could not install some modules: JavaFX wrapper - No module > providing the capability org.openide.modules.jre.JavaFX could be found. 2 > further modules could not be installed due to the above problems.“ > > So here is my plugin called NbScratchFile: > https://github.com/Chris2011/NbScratchFile/tree/develop (Develop is the > current branch which is up to date). I really tried my best to check > everything from the created sample project "Java Frontend Application" to > fix everything in my pom and removed unused files, etc. I also added the > changes from Jaroslav (he added a comment in the ticket) to my pom but > still got the same issue as this was the initial problem. > See my pom here: > https://github.com/Chris2011/NbScratchFile/blob/develop/pom.xml. > > Some side info here, it is really only a nbm so a plugin for NetBeans, no > standalone nbm-application. > It works like a charme, with JDK 1.8 in NetBeans 8.2 but I want to be up > to date and want to support Apache NetBeans >= 9.0 with the newest version. > The settings (JDK, platform to run) are the same as I mentioned in the > ticket description. > > You see that I have an Installer.java and I also had a manifest.mf file, > but I removed the file in case of finding the error. So the Installer.java > class shouldn't be the problem nor the missing manfiest.mf file which > registers the Installer class. > > It would be very nice, if someone can have a look there what I did wrong. > Maybe I missed smth or whatever. I tried my best until now and I thought it > was only because of the initial problem but for my plugin it seems not. > > > Cheers and thx > > Chris >