popup/error message on Mac: To use the "Java" Command-line tool you need to install a JDK
This popup has been appearing for several months on my Mac:
'To use the "Java" Command-line tool you need to install a JDK'
The 'more info' button on it confusingly takes me to Adobe's website, where other users have reported the same issue. Adobe pointed me to Oracle for anything in relation to Java/JDK.
Has anybody experienced the same and know how to fix it?