NetBeans and JDK9

Andrew Haley aph at redhat.com
Thu Nov 19 13:15:21 UTC 2015


On 11/04/2015 08:40 PM, Martin Balin wrote:
> Andrew,
> 8.0.2 will not run on JDK 9, same for just being released NB 8.1.
> We are working on JDK9 support in NB, but it is not now available in NB 
> dev builds, it is on branch.
> We will merge the work to NB master soon
> Martin
> 
> On 2.11.2015 11:14, Andrew Haley wrote:
>> On 01/11/15 18:21, Martin Balin wrote:
>>> What version are you using?
>>> NetBeans 8.x or some of NetBeans 9 development builds?
>> 8.0.2.  I'm happy to use whichever version you recommend, but
>> I never had much luck with development builds.

I'm running netbeans-jdk9branch-201506180405-javase-linux.sh and I
still get the same error.  It seems to hang for a very long time at
satartup, and then I get a dialog box with

"The package containing the class javax.swing.JComponentBeanInfo was
not loaded."

The stacktrace seems to be this:

org.netbeans.InvalidException: StandardModule:org.netbeans.modules.form.nb jarFile: /home/aph/netbeans-dev-jdk9-201506180405/java/modules/org-netbeans-modules-form-nb.jar: Dependency failed on package [javax.swing.JComponentBeanInfo]
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1247)
	at org.netbeans.ModuleManager.enable(ModuleManager.java:1156)
[catch] at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:340)
	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:276)
	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:301)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:181)
	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:150)
	at org.netbeans.core.startup.Main.start(Main.java:307)
	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:123)
	at java.lang.Thread.run(Thread.java:747)

Is there a more recent version of netbeans which works with current
JDK9?  I can build it myself if needs be.

Thanks,

Andrew.


More information about the jdk9-dev mailing list