Simple, and Fast way to set up your Mac with Java JDK to start writing Java programs for any beginning programming course, or your work. Process Takes less than 2 minutes
Only three steps to install.
I also tell you how to uninstall java, and how to write, compile, and run a java program from Terminal.
You will also learn that you probably don't need to set file path or setup JAVA_HOME to use unless you are doing more complex programs.
This install has been tested to work with Jetbrains InteliJ, Eclipse, Netbeans, and Visual Studio Code
-- Skip to how to write and run a Hello World type program at 2:45