NetBeans 6.5在计算机上找不到JDK [英] JDK was not found on the computer for NetBeans 6.5

查看:171
本文介绍了NetBeans 6.5在计算机上找不到JDK的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

打开NetBeans时收到以下消息。我安装了JDK,并在环境中设置bin目录。接下来我可以做些什么来避免这个问题?顺便说一句,我使用的是Windows 7 64位。

I got the following message when I open the NetBeans. I have got the JDK installed, and set the bin directory in the environment. What I could do next to avoid this problem? Btw, I am using Windows 7 64 bit.

推荐答案

我使用以下步骤解决问题:

I use the following steps to solve the problem:

首先,确保

"Run this program in compatibality mode for: Windows XP (Service Pack 3)" and "Run this program as an administrator" are ENABLED.

在命令提示符下运行

C:\Users\{yourusernamehere}\Documents\Downloads\netbeans-6.5-ml-windows.exe –-javahome "C:\Program Files (x86)\Java\jdk1.6.0_18"

这篇关于NetBeans 6.5在计算机上找不到JDK的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆