FIX: To use the “java” command-line tool you need to install a JDK

FIX: To use the “java” command-line tool you need to install a JDK

We see this problem a lot and had a couple customers asking how to resolve this issue.

This pop-up can happen after upgrading to a newer version of Mac OS X (Yosemite 10.10 and El Capitan 10.11) or macOS (Sierra 10.12, High Sierra 10.13 and Mojave 10.14). This annoying new pop-up message will appear every time you restart your Mac.

The pop-up message:

“To use the “java” command-line tool, you need to install a JDK.
Click “More Info…” to visit the Java Developer Kit download website.” 

The reason for this message is due to the removal of Java support in newer versions of OS X and macOS for security reasons. Older software such as Adobe Photoshop and Illustrator required legacy Java support.

So now without a compatible Java command-line tool for this software, you’ll get this pop-up every time you turn on your Mac.

The problem is when you visit the download website to update Java, you find that the issue doesn’t get resolved!

You’re still end up getting the same pop-up. This isn’t a difficult issue to resolve, but it is an indirect one.

The problem is that you’re not being linked to the correct download website when you click “More Info” button.

Apple could have resolved this issue by directing to the correct download link.

Here are the steps you can take to finally rid yourself of this very annoying pop-up:

SOLUTION: Java Command-Line Tool Pop-Up on Mac OS X and macOS

Step 1

Step 2

  • Mount the .dmg disk image file and install Java 6 runtime for OS X.

Step 3

  • Restart your Mac and enjoy the sweet absence of no more pop-ups!

This Post Has 4 Comments

  1. Howdy
    After a while of annoying popups found your page and done the 3 Steps!
    Worked a treat-So Far!
    Hopefully fixed for good.
    Cheers.

    1. Great! Glad to hear this worked for you:)

  2. thank you so much . i am so grateful about you . Finally , i fixed it.

    1. You’re welcome! Glad to hear it fixed it:)

Leave a Reply