Skip to content

Instantly share code, notes, and snippets.

@VikashSaharan1
Created February 16, 2019 09:21
Show Gist options
  • Save VikashSaharan1/0f0f3b8021114bce6d330dbbac5f3c54 to your computer and use it in GitHub Desktop.
Save VikashSaharan1/0f0f3b8021114bce6d330dbbac5f3c54 to your computer and use it in GitHub Desktop.
JAVA_HOME is not defined correctly on Mac OSX
    # First open yourr terminal and goto user home directory
      $ cd ~
      $ nano .bash_profile
    # After then put this line
      $ export JAVA_HOME=/usr/libexec/java_home
    # And then press Control + x and After then put this command
      $ source .bash_profile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment