Installing Jekyll, OpenJDK 8 and S3 Website on a Mac

In this example we will install OpenJDK 8 and s3_website on a Mac with Catalina. It may work for other versions. This guide used to describe how to install Jekyll, but for that you should now visit the official Jekyll documentation at:

The first step will be to install Homebrew. On the Mac Terminal application copy and paste the following text:

/bin/bash -c "$(curl -fsSL"

Then we can install AdoptOpenJDK 8:

brew tap AdoptOpenJDK/openjdk
brew install --cask adoptopenjdk8

If you have multiple versions of Java on your computer, you may need jenv allows you to select which java version is currently running on your Mac. If you only have one java version on your Mac, then you do not need the following steps.

brew install jenv

Then add the following lines to to your .bash_profile file located in you your home directory. You can do something like this nano ~/.bash_profile to open the editor.

export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"

Then run the following commands on the command line:

source ~/.bash_profile
jenv add /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/

The last line immediately above may need to adjusted to the location on OpenJDK on your Mac.

Finally to install s3_website, run this command:

gem install s3_website

You should now have OpenJDK 8 and S3 Website installed on your Mac!

To check S3 Website is running on your Mac you can try this command:


You should get a helpful list of commands that are available to you.