JDK was not found on the computer for NetBeans 6.5

前端 未结 20 1952
执笔经年
执笔经年 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条回答
  •  失恋的感觉
    2020-11-30 04:39

    What I have found, the correct way of doing it is: "C:\Program Files (x86)\netbeans-8.0.2-windows.exe" --javahome "C:\Program Files(x86)\Java\jdk1.7.0_51"

    1. at first, the setup of NetBeans must be saved on your hard disk
    2. go to the place where your setup is, click properties and copy the path.
    3. Add two back slashes in it and put it in double quotes like so: "C:\Program Files (x86)\netbeans-8.0.2-windows.exe"
    4. then go to the folder where your jdk is, click properties, copy the path, put double back slashes where necessary and then put it in double quotes: "C:\Program Files(x86)\Java\jdk1.7.0_51"
    5. then just follow the format of the first link given and you'll install it

    Note: run this link in the command prompt

提交回复
热议问题