惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
The GitHub Blog
The GitHub Blog
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
Google DeepMind News
Google DeepMind News
aimingoo的专栏
aimingoo的专栏
Recent Announcements
Recent Announcements
A
About on SuperTechFans
U
Unit 42
MyScale Blog
MyScale Blog
J
Java Code Geeks
博客园_首页
Blog — PlanetScale
Blog — PlanetScale
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 司徒正美
量子位
月光博客
月光博客
G
Google Developers Blog
V
V2EX
博客园 - 聂微东
宝玉的分享
宝玉的分享
IT之家
IT之家
Vercel News
Vercel News

博客园 - 灰色

OSGi中使用Servlet遇到Permission denied的问题 Ubuntu的eclipse+CDT开发遇到的问题 - 灰色 - 博客园 备忘:昨天被人问到的3个Linux命令,我只会一个,惭愧啊 vmware中Ubuntu同宿主机Windows之间的共享问题 Oracle创建数据库时提示out of memory错误解决办法 vmware中鼠标乱跑问题的解决 TB级数据检索引擎开发笔记(一) Windows Service中调用Winform程序之log4net问题. 常用SQL语句 要到新公司了 error LNK2001: unresolved external symbol _main解决办法(zz) Ubuntu下使用IronPython不支持os标准库的解决方法 改进的dtree,支持无刷新添加和删除节点 我们公司正在实行的Scrum,效果还不错 如何将数据库恢复到不同名称的新库下 一分钟搞定清晰的网站图标(ico) SQL SERVER 孤立用户问题 - 灰色 利用DevExpress控件包中的GridControl做Master-Detail样式时,Detail表无法定位行的解决办法 Winform中Licenses.licx 总是签出导致影响多人开发的解决方法
ubuntu上安装netbeans提示找不到jdk的解决办法
灰色 · 2009-12-11 · via 博客园 - 灰色

在ubuntu上安装netbeans提示这个错误,就是说找不到JDK6

ibmer@ubuntu:~/software$ sh netbeans-6.7-ml-java-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 installe在r again.
You can specify valid JDK location using --javahome installer argument.

To download the JDK, visit http://java.sun.com/javase/downloads

解决的办法就像返回的错误提示里说的,指定java安装的地址:

ibmer@ubuntu:~/software$ sh netbeans-6.7-ml-java-linux.sh --javahome jdk1.6.0_17/jre

搞定