netbeans-6.9failed-installation

Netbeans 6.9.1 installation error : "No compatible JDK was found."


I'm trying to install Netbeans 6.9.1 in my Ubuntu 9.04.

But when i run the script ./netbeans-6.9.1-ml-linux.sh, the installer GUI displays the error "No compatible JDK was found.", and in the next window it asks for the installed JDK path. What can I do to get it to install?


Solution

  • Make sure you have installed a Java development kit that is compatible with the Netbeans version you're trying to install in your system. If not, you have to download the JDK and install it. Then try to run the installation again. download the Java JDK from here. You can check whether you have installed an JDK by issuing the command javac at the terminal.