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.
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.