Installing NetBeans 8.0.2 with JDK 9.0.1

后端 未结 2 1522
太阳男子
太阳男子 2020-12-21 13:50

When I try to install NetBeans 8.0.2 on my PC (Win10-64bit) I get the error message:

despite that I already installed JDK 9.0.1, as evident in the command p

相关标签:
2条回答
  • 2020-12-21 13:57

    As mentioned, you are getting error when trying to install NetBeans, in that case you can specify the JDK at command line

    <netbeans_installer>.exe --javahome "C:\Program Files\Java\jdk1.9.0"
    

    FaqSuitableJvmNotFound

    0 讨论(0)
  • 2020-12-21 14:18

    AFAIK Netbeans which supports JDK 9 is yet to release (i.e, Netbeans 9.0 which is in development mode).

    And the documentation states this.

    By: jkovalsky, 09 Oct 2017

    If you have downloaded JDK 9 recently and try to convince your NetBeans 8.2 IDE to run on top of it we will probably disappoint you, because 8.2 version is not designed to work with JDK 9.

    In order to use JDK 9 happily you will need to download a NetBeans 9.0 development build from Apache Incubator. For more information please read Geertjan Wielenga's post on Using Apache NetBeans IDE.

    Thank you! NetBeans team

    I've also faced the same issue with Netbeans 8.2 (but you're trying with Netbeans 8.0.2). So, I installed JDK 8 and the Netbeans installation went fine.

    Still if you want to use JDK 9 you can install it alongside with JDK 8. But you need to set JDK path as JDK 8 in the system path (like you did for JDK 9). While installing Netbeans select JDK 8 installation path as JDK for Netbeans.

    I hope it'll be helpful.

    0 讨论(0)
提交回复
热议问题