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

查看:20
本文介绍了在用于 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}DocumentsDownloads
etbeans-6.5-ml-windows.exe –-javahome "C:Program Files (x86)Javajdk1.6.0_18"

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

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