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:
- Mount the .dmg disk image file and install Java 6 runtime for OS X.
- Restart your Mac and enjoy the sweet absence of no more pop-ups!