关于安装netbeans 找不到JDK的问题解决
在终端cd到netbeans下载放置的目录,输入./netbeans-6.1-javaee-linux.sh,出现了找不到jdk错误信息: Configuring 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 在Ubuntu下已经安装了JDK5和JDK6,怎么会一个都找不到,难道是两者同时安装了对netbeans有冲突, 幸好提示信息里有个使用 ——javahome 安装参数指定JDK安装位置 接着在终端输入 ./netbeans-6.1-javaee-linux.sh ——javahome /usr/lib/j2sdk1.6-sun Configuring installer…… Search JVM on the system…… Extracting installation data…… Running installer wizard…… 安装向导窗口正常跳出. |
凌众科技专业提供服务器租用、服务器托管、企业邮局、虚拟主机等服务,公司网站:http://www.lingzhong.cn 为了给广大客户了解更多的技术信息,本技术文章收集来源于网络,凌众科技尊重文章作者的版权,如果有涉及你的版权有必要删除你的文章,请和我们联系。以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢! |