Ben Chuanlong Du's Blog

It is never too late to learn.

Install the Latest JDK on Mac

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

You can install the latest version of JDK using the following command.

brew install --cask temurin

For more details, please refer to chat with Gemini .

Install Packages Using Homebrew on macOS and Linux

Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!

Installation

macOS

By default, Homebrew is installed to the location /opt/homebrew. You can add the command brew into $PATH by adding the following configuration into your shell configuration (e.g …