Go is an open source programming language that makes it easy to build simple, reliable, and efficient software. To find your Home folder, open Finder and use the keyboard shortcut Command-Shift-H. You can use the Go pull-down menu from the menu bar to go to the Home folder. (Oddly, the home folder is called.
- (that’s two periods), you’ll go to the directory above the one you’re currently in. So if you’re in your home folder, and type cd., you’ll go to your Mac’s /Users folder.
- This will work in 10.4, also. And there is a logic here, in case anyone is wondering. The Desktop folder is located within the Home folder, so it makes sense that Command-Up Arrow would open Home in the situations described, for even when the user only clicks on the Desktop, that's the folder which the FInder considers selected.
Here I’ll explain how to add JAVA_HOME variable on your MacBook (Mac OS).
Set JAVA_HOME in .bash_profile
Open Launchpad and search for Terminal and launch it.
Edit ~/.bash_profile:
![Mac Mac](https://iwayinfocenter.informationbuilders.com/TLs/TL_soa_bdi_user/source/images/mac_os_kerberos1.jpg)
![Go Hone Mac OS Go Hone Mac OS](https://cdn.cultofmac.com/wp-content/uploads/2013/11/Finder-Full-Screen.jpg)
and add to the end:
${/usr/libexec/java_home} is a symlink for current Java.
Press Ctrl+X to exit and “Y” to save your changes.
Now we need to recompile .bash_profile to apply changes:
Mac OS also allows you to edit ~/.profile instead of ~/.bash_profile.
How to check if JAVA_HOME on Mac?
Go Hone Mac Os X
Type “echo $JAVA_HOME” command to check Java Home environment variable on Mac OS X.
Success result should look like this: