Netbeans 6.5 JDK was not found Unsupported Java VM

按照页面http://wiki.services.openoffice.org/wiki/OpenOffice_NetBeans_Integration安装Netbeans.

首先安装的是Netbeans 6.9,但是在netbeans 6.9中没法安装OpenOffice.org API Plugin,正如下面这段话所写的:

 

Download the latest version from within NetBeans by clicking on Tools - Plugins. You can find the plugin in the "Available Plugins" section as "OpenOffice.org API Plugin". Install it and try it out! The configuration is self explanatory, for detailed information see Configuration . NOTE: The plugin appears automatically in Netbeans 6.5, but is not available in 6.7.[1]

6.9和6.7一样的装不了这个plugin。

转而安装Netbeans 6.5,从Netbeans官方网站下载,不好找,下载链接都是指向6.9,搜索后找到6.5的链接。

下载后安装时出现问题,

Java SE Development Kit(JDK) was not found on this computer

JDK 6 or JDK5 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 qrgument.

看来是找不到jdk,可我的jdk是没问题的,java_home, class_home,path等变量都没问题。

使用--javahome参数指定jdk路径,还是出现问题,提示变成

Unsupported Java VM version

The Java VM at c:/java/jdk1.6.0_20 has the unsupported version.

c:/java/jdk1.6.0_20是我的jdk路径。

没辙了。google之后,找到的页面不多,从下面两个页面找到个解决办法。

http://old.nabble.com/NetBeans-6.1-Installation-error---Unsupported-Java-VM-Version-td19591991.html

http://netbeans.org/bugzilla/show_bug.cgi?id=134252

使用如下两个命令

netbeans-6.1-windows.exe --extract
java -jar bundle.jar

顺利安装。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值