![]() Why this command in macOS? This is because $(/usr/libexec/java_home) can return the real JDK installation home directory.In vim, press the esc key first then press i key to insert text, click esc then :wq to save and quit.Įxport JAVA_HOME="$(/usr/libexec/java_home)" bash_profilecommand in terminal and add below export command in it. You can also run ls -alto list all files under your home directory. bash_profile to make sure the file exists. Run cd ~ in terminal to go to the current user home directory. ![]() ![]() bash_profile file, this file is saved in the current user’s home directory. ![]() First, all environment variable settings are saved in the current user’s. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |