NetBeans and JDK9

Martin Balin martin.balin at oracle.com
Tue Nov 24 15:24:55 UTC 2015


Hello,
Early support for JDK 9 EA builds will be available in NetBeans dev 
builds next week.
Martin

On 24.11.2015 11:21, Michel Graciano wrote:
> Hi Andrew,
> I am not sure if it fix your issue, but I think you can try this 
> documentation http://wiki.netbeans.org/JDK9Support. As said before, 
> there is a branch which supports the use of JDK 9, but it does not run 
> on top of it yet, but you can use JDK 9 to run your projects.
>
> I hope it helps.
>
> Best regards.
>
> --
> Michel Graciano
> Arquiteto de Sistemas
> Pesquisa e Desenvolvimento
> Telefone: +55 (48) 3431-0733 / Ramal: 4863
>
>
>
> On Thu, Nov 19, 2015 at 11:15 AM, Andrew Haley <aph at redhat.com 
> <mailto:aph at redhat.com>> wrote:
>
>     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