- Install JDK 1.8
(optional) use https://github.com/robbyrussell/oh-my-zsh https://code.visualstudio.com/
-
See if
JAVA_HOME
ENV variable is set to 1.8. If not, add this line in your~/.zshrc
:export JAVA_HOME=`/usr/libexec/java_home -v 1.8`
And apply the changes to your session:
source ~/.zshrc
-
Install
mvn
:brew update brew install maven brew upgrade maven
-
Pull the prestodb sources:
git clone https://github.com/facebook/presto.git cd presto
-
Build the thing (took ~23 minutes for me):
mvn clean install