& Nbsp; in the terminal cd to netbeans download directory, enter./netbeans-6.1-javaee-linux.sh, the jdk error message is not found: javasinginstaller... SearchJVMonthesystem... JavaSEDevelopmentKit (JDK) wasnotfoundont
In the terminal cd to netbeans download directory, enter./netbeans-6.1-javaee-linux.sh, there is a jdk error message not found:
Installing ing installer...
Search JVM on the system...
Java SE Development Kit (JDK) was not found on this computer
JDK 6 or JDK 5 is required for installing the NetBeans IDE. Make sure that the JDK is properly installed and run installer again.
You can specify valid JDK location using -- javahome installer argument.
To download the JDK, visit http // java.sun.com/javase/downloads
JDK 5 and JDK 6 have been installed in Ubuntu. Why can't one be found? is there a conflict between the two installed on netbeans, so that none of netbeans can be found, or you do not know which jdk to use.
Fortunately, the message "-- javahome installation parameter" is used to specify the JDK installation location.
Enter./netbeans-6.1-javaee-linux.sh -- javahome/usr/lib/j2sdk1.6-sun
Installing ing installer...
Search JVM on the system...
Extracting installation data...
Running installer wizard...
The installation wizard window jumps out normally.