How to setup JAVA_HOME in Mac OS Big Sur? | Installing Java on macOS 11 Big Sur

In this tutorial session, we will learn to install JAVA/JDK on Mac OS Big Sur. For installation please download Java setup from the Oracle website and install it. Then start with me to set up JAVA_HOME for JDK. Please watch the tutorial till the end and you will have your Java installed on your Mac OS Big Sur.

Here are the steps to do:

Step 1: Please open the bash_profile file in edit mode.
command: open -a TextEdit.app ~/.bash_profile

Step 2: Download Java/JDK from the Oracle website and install it, then copy the path up to the ‘home’ folder update in the ‘bash_profile’ file, and save it.

–follow my instructions.

Installed Java location: /Library/Java/JavaVirtualMachines/

/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home

Step 3: Close bash_profile and open cmd to test Java setup:
type java -version then press enter.

Step 4: Java Installation successful. Hit Like and Subscribe to support us.

If you found this video tutorial useful and would like to support me, you can do so by buying me a coffee using the below link!

https://buymeacoffee.com/CoolITHelp

If you find this tutorial useful, please hit the like button to appreciate us. Also, you can subscribe to my YouTube channel to learn more.

Leave a Comment