JDK was not found on the computer for NetBeans 6.5

前端 未结 20 2020
执笔经年
执笔经年 2020-11-30 03:55

I got the following message when I open the NetBeans. I have got the JDK installed, and set the bin directory in the environment. What I could do next to avoid this problem?

20条回答
  •  猫巷女王i
    2020-11-30 04:35

    I was facing the same problem, not it works fine.

    1. just open cmd

    2. cd to the directory where your netbeans setup file is located.

    3. in cmd, write the name of the entire setup file and write --javahome "address of jdk"

    4. hit enter, it will surely solve your problem

    for example, if the setup file is: netbeans8.02.exe

    and path of JDK is C:/program files/java/jdk9.01

    then run the command,

    netbeans8.02.exe --javahome "C:/program files/java/jdk9.01"

    and hit enter! :-)

提交回复
热议问题