Commits

Nicola Paolucci  committed 26a1df7

[bash] proper JAVA_HOME in OSX

  • Participants
  • Parent commits cdd5819

Comments (0)

Files changed (1)

   if [ -f `brew --prefix`/etc/bash_completion.d/git-completion.bash ]; then
     . `brew --prefix`/etc/bash_completion.d/git-completion.bash
   fi
+
+  #Java home setting
+  export JAVA_HOME=$(/usr/libexec/java_home)
 fi
 
 # }}}
 export GOPATH=$HOME/dev/projects/go/
 export PATH=$PATH:$GOPATH/bin
 # }}}
-