Skip to content

Instantly share code, notes, and snippets.

@jhcao23
Last active May 22, 2017 17:13
Show Gist options
  • Save jhcao23/e5e7dc353cbf593ce275f53d3da9859f to your computer and use it in GitHub Desktop.
Save jhcao23/e5e7dc353cbf593ce275f53d3da9859f to your computer and use it in GitHub Desktop.
Basic bash_profile setup for Java
#!/bin/bash
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home
export MAVEN_HOME=/usr/local/Cellar/maven/3.5.0/libexec
#PATH
export PATH=$JAVA_HOME/bin:$MAVEN_HOME/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment