How to install Netbeans 7.4 on mac os mavericks (with jdk 7 update 45 already installed)?

Viewed 5356

I am trying to install Netbeans 7.4 on my mavericks mac os system but I get this very strange message at the start of installation :

No JDK found

NetBeans IDE cannot be installed. Java (JRE) found on your computer but JDK 7 update 10 or newer is required. Please download and install the latest update of JDK 7 from http://www.oracle.com/technetwork/java/javase/downloads/index.html and restart NetBeans installation.

What is so strange here is that I have already installed jdk 7 update 45 on my system, since I use it to work on projects made with IntelliJ Idea, the other IDE that I use.

Update1 : Here is what java -version gives enter image description here

Update2 : System Preferences --> Java

enter image description here

1 Answers
Related