NetBeans安装程序无法识别JDK。

huangapple 未分类评论44阅读模式
英文:

Netbeans installer not seeing jdk

问题

当我运行Netbeans 8.2安装程序时,我收到一条消息,说JDK不在我浏览的位置。

我通过目视验证了JDK是否安装在这里(并且我输入 java -version 并验证它在那里。

C:\Program Files (x86)\Common Files\Oracle\Java\javapath

当我输入 java -version 时,我得到:

java版本 "1.8.0_261"
Java(TM) SE Runtime Environment(版本1.8.0_261-b12)
Java HotSpot(TM) 64位服务器VM(版本25.261-b12,混合模式)

我将该路径放置在环境变量中的JAVA_HOME下,位于 控制面板->系统

当我在安装程序中浏览时,它无法看到文件,但是当我使用文件浏览器时,我可以在那里看到java文件。

这是JDK和Netbeans之间的兼容性问题还是权限问题?
感谢任何帮助。

英文:

When I run the Netbeans 8.2 installer,
I get a message saying the JDK is not in the location that I browsed to.

I visually verified that JDK was installed here (and I type java -version and verified it was there.

C:\Program Files (x86)\Common Files\Oracle\Java\javapath

When I typed java -version I got:

java version "1.8.0_261"
Java(TM) SE Runtime Environment (build 1.8.0_261-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.261-b12, mixed mode)

I placed the path under JAVA_HOME in Environment Variables on Control Panel->System.

It can't see the files when I browse in the installer but I can see the java files there when I use file explorer.

Is this a compatibility issue between JDK and Netbeans or maybe permission issue?
Thank you for any help.

huangapple
  • 本文由 发表于 2020年7月23日 09:34:14
  • 转载请务必保留本文链接:https://java.coder-hub.com/63045529.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定