How to set JAVA_HOME in Mac OS X Catalina? | Java Tutorials for Beginners

preview_player
Показать описание
In this tutorial, we will learn to set up the JAVA_HOME environment variable in Mac OS X. I have working with os x Catalina. If you guys have a previous version of Mac OS X, you can apply the same process to set java_home.

Find the JDK package in the following path:
/Library/Java/JavaVirtualMachines/

Step 1: Now we need to set the JAVA_HOME environment variable. (for first time users: first-time installation)

Terminal command to open bash_profile file in edit mode:
open ~/.bash_profile

Add the following entries in the bash_profile file.

(Important: don't leave space after = sign )

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!

#Java_HomeSetupMacOSX #CoolITHelp
Рекомендации по теме
Комментарии
Автор

Ur name is Amit too ! while watching the Video i noticed inside Terminal (AMIT:- AMIT$) i mistook it as my MAC's Screen 面白いなー

sirTangale
Автор

Thank you so much now I have done with this now can you please tell me how to compile and run using command line prompt and and text edit

bharathram