JDK was not found on the computer for NetBeans 6.5

前端 未结 20 1891
执笔经年
执笔经年 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:40

    Set JAVA_HOME and PATH, Open Command line with admin rights, Run in command line >>netbeans-6.5.1-ml-windows.exe --extract, Run in command line >>java -jar bundle.jar

    0 讨论(0)
  • 2020-11-30 04:40

    I have got the JDK installed

    You haven't specified the version. I think it is not 6 nor 5.

    JDK 6 was the latest version at time of NetBeans 6.0 - 6.9 are developed. For that reason, They require JDK 6 (or JDK 5) and do not run on JDK 7 or later.

    Download JDK 6
    Download latest version of NetBeans

    0 讨论(0)
  • 2020-11-30 04:44

    For netbeans 8.2

    1. First run command as administrator.
    2. set path to you downloads folder using cd 'location to the downloads folder'
    3. extract using netbeans-8.2-windows.exe --extract command
    4. run java -jar bundle.jar
    5. Done :)

    0 讨论(0)
  • 2020-11-30 04:45

    For Netbeans 9.0

    1)open netbeans.conf file using notepad inside etc folder

    2)Search "netbeans_jdkhome" line and uncomment it by removing '#' from start

    3)locate your jdk and replace file path

    For example

    0 讨论(0)
  • 2020-11-30 04:46

    Do the following steps to resolve the problem

    1. Ensure that the JDK is already installed.

    2. If the installer is on a CD, Copy the EXE file for the Netbeans 6.5.1 installer onto your hard disk.

    3. Note the location of the installer.

    4. Open a Command Prompt running as administrator: Go to Start button > All Programs > Accessories Right click Command Prompt Select Run as administrator

    5. In the Command Prompt use the cd command to change to the directory containing the installer.

    6. Execute the following command to extract the contents of the installer: [Note: You might need to change the name of the installer to match the one you have.]

      netbeans-6.5.1-ml-java-windows.exe --extract

    7. Execute the following command to manually execute the installer:

      java -jar bundle.jar

    You will see rapid scrolling output in the Command Prompt window for a few moments, then the installer window will appear to begin the installation process.

    0 讨论(0)
  • 2020-11-30 04:48

    I would first double-check that you installed the JDK, rather than just the JRE. It's easy to grab the wrong one and not even realize it. Then I'd make sure that your JAVA_HOME environment variable is pointing to your JDK install directory, NOT the bin directory. You may want to add the bin directory to the PATH environment variable, but Netbeans is more likely looking at the JAVA_HOME environment variable.

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