gjianhui
October 14th, 2008, 05:50 PM
I have install JDK 1.6 in ubuntu7 already. when i do a java - version, i get
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
user1@cylaw-desktop:~/jdk/jdk1.6.0_07/bin$
javac -version
javac 1.6.0_07
But when i try to install netbeans, it show me this. So what shid I do?
user1@cylaw-desktop:~/jdk/jdk1.6.0_07/bin$ sh netbeans.sh
Configuring the installer...
Searching for 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
user1@cylaw-desktop:~/jdk/jdk1.6.0_07/bin$
many thanks
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
user1@cylaw-desktop:~/jdk/jdk1.6.0_07/bin$
javac -version
javac 1.6.0_07
But when i try to install netbeans, it show me this. So what shid I do?
user1@cylaw-desktop:~/jdk/jdk1.6.0_07/bin$ sh netbeans.sh
Configuring the installer...
Searching for 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
user1@cylaw-desktop:~/jdk/jdk1.6.0_07/bin$
many thanks