How to make the Mac’s annoying “To use the java command-line tool you need to install a JDK” pop-up go away forever



Some older Mac apps (Adobe’s Photoshop is one) require Java in order to work. Java is not part of the macOS so it has to be installed manually. The problem is, the modern Java installer puts Java into a different location than it used to, so when these older apps look for Java, they don’t find it– because they are looking in the wrong place.

The solution is to install an older version of Java, with an installer that puts things where Adobe expects to find them.

You would think that clicking the “More Info…” button in the pop-up would take you to a page where you could download the proper version of Java… but that’s not the case. The “More Info…” button takes you to the page for the latest version of Java, not the older one.

Click here to go to the older, “Legacy” Java installer page on Apple’s website. You’ll see a picture of a lion. That’s because Lion (10.7) was the current macOS when that version of Java came out.

Download the installer from that page, run the installer, and you’re done. No more annoying pop-up.



Did this article help you?

Maybe you'd like to contribute to the
Christian Boyce coffee fund.

Want some longer how-tos?
Visit me at christianboyce.com.

Looking for quick tips about iPhones?
See my iPhone In a Minute website.



4 thoughts on “How to make the Mac’s annoying “To use the java command-line tool you need to install a JDK” pop-up go away forever

Add yours

  1. Finally, thx Christian! This has been annoying me for a couple of months now. Btw the text in your comment box is white by default, which is very hard to read while typing with the grey comment box background. I would recommend to change it to black or the dark blue you use on the entry-author div. If I click outside the box while having typed something, the color changes. There is probably something off in the css

    1. Very interesting about the comments. When I type in the comments it’s white text against a black background. When I click outside the box it changes to black against grey. I will see about changing this. Thanks for letting me know.

  2. How do I get rid of the JDK Line tool pop up? I don’t want to install anything from Adobe. I don’t have Photoshop. I don’t need it. Thank you.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑

%d bloggers like this: