4

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
  • to check whether this java lives in a JRE or a JDK, you could run which java (and paste the textual output of that command, screenshots are maybe cuter but don't have any added value)
    – fvu
    Dec 31, 2013 at 18:42

1 Answer 1

4

Are you sure that you are not confusing jre with Java development tool kit a.k.a JDK. You may have jre but may not have JDK. Try this and let us know the JDK version . Open the terminal in OSX and type this -

java -version
3
  • Aaah... you have Jdk 7 installed but it has update 6 not 10. For example my macbook has version -7 with 45. Dineshs-MacBook-Pro:~ dinesharora$ java -version java version "1.7.0_45" Java(TM) SE Runtime Environment (build 1.7.0_45-b18) Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode) Dec 31, 2013 at 23:37
  • But when I go to System Preferences --> Java I have the following report (see my 2nd update of the original post)
    – skiabox
    Jan 1, 2014 at 14:24
  • 1
    I followed these directions (apple.stackexchange.com/questions/112525/… you for helping me with this.
    – skiabox
    Jan 1, 2014 at 19:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.