简体   繁体   中英

JDK not found with Netbeans 8.2 or Higher versions

I downloaded the jdk then restart the computer. I am see the java is present in Mac OS but when I try to install the netbeans, its saying the JDK not found. I have used this command to set the path for java vim.bash_profile. When I open the file the path is present but When I start new terminal and try to see the path that is not present.

Here is the screen shot of the java is present.

在此处输入图像描述 Here is the screen shot of the java path is set在此处输入图像描述

Here is the screen shot when I try to see the path is set or not.

在此处输入图像描述

Here is the screen shot when I try to install the netbeans. 在此处输入图像描述

You should set the JDK files as environment variables. It must work after doing that. As I am a Windows user, I don't know how to do that on other OS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM