Update: This page is no longer updated. Some of the instructions may be incorrect. Proceed with caution.
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 default shell for Catalina is the Z Shell. On this page I will use the Bash shell. You can change shells back and forth by opening the Advanced Preferences on your username in the Accounts and Users setting.
The first step will be to install Homebrew. On the Mac Terminal application copy and paste the following text:
Next, tell your shell environment about the HomeBrew executable. HomeBrew should spit out these commands at the end of a successful install in the Notes section. Be sure to replace home directory correctly.
Then we can install AdoptOpenJDK 8:
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.
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.
Then run the following commands on the command line:
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:
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.