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:
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.