This video shows the installation process for Mac operating systems to use Homebrew to install Java, Maven and IntelliJ
The step by step text instructions for this are on the startUsingJavaJunit project on Github
https://github.com/eviltester/startUsingJavaJUnit
at
https://github.com/eviltester/startUsingJavaJUnit/blob/master/speedrun_install_java_checklist.md