为什么ubuntu8下 java -显示jdk安装,但netbeans安装时显示没有jdk?
悬赏:20 发布时间:2008-05-14 提问人:towardliving (初级程序员)
~$ java -version
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
./netbeans-6.1-linux.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.
? 求教
问题补充:
用的是ubuntu8 64
问题补充:
helloworld没问题
jdk在sun下的
问题补充:
魔力猫咪 : 添加删除程序?,在那里没有
不过问题用另外一种方式解决了:
./netbeans6.1 --java home 省略若干
该问题已经关闭: 今天因为别的原因重装了ubuntu 8 64,安完目前所有的升级文件再安jdk,问题消失
java version "1.6.0_06"
Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
Java HotSpot(TM) 64-Bit Server VM (build 10.0-b22, mixed mode)
./netbeans-6.1-linux.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.
? 求教
问题补充:
用的是ubuntu8 64
问题补充:
helloworld没问题
jdk在sun下的
问题补充:
魔力猫咪 : 添加删除程序?,在那里没有
不过问题用另外一种方式解决了:
./netbeans6.1 --java home 省略若干
该问题已经关闭: 今天因为别的原因重装了ubuntu 8 64,安完目前所有的升级文件再安jdk,问题消失




