Prerequisites

Install homebrew

Install JDK 25

  • Open terminal
  • Install Java:
brew install --cask temurin@25
  • Open a new terminal
  • Verify the installation, make sure that the version is “25” and the name contains “OpenJDK Runtime Environment Temurin”:
java -version
  • The output should look like this:
openjdk version "25" 2025-09-16 LTS
OpenJDK Runtime Environment Temurin-25+36 (build 25+36-LTS)
OpenJDK 64-Bit Server VM Temurin-25+36 (build 25+36-LTS, mixed mode, sharing)

Install Gradle

  • Install Gradle:
brew install --cask gradle@9
  • Verify the installation, make sure that the version is “9”:
gradle -version
  • The output should look like this:
------------------------------------------------------------
Gradle 9.3.1
------------------------------------------------------------

Install Git (optional)

brew install git
  • Verify the installation:
git -v
  • The output should look like this:
git version 2.51.0

Install IntelliJ

  • Install the JetBrains Toolbox:
    brew install --cask jetbrains-toolbox
    
  • Open JetBrains Toolbox and click “install” on “IntelliJ IDEA”.
  • Open IntelliJ and create a new Java project:
    • Name: test
    • Location: “~\IdeaProjects”
    • Build system: Gradle
    • JDK: Eclipse Temurin 25
    • Gradle DSL: Kotlin
    • Add Sample Code: yes

  • In your project open “src/main/java/org.example/Main.java”
  • Press the green play button next to the main method and verify that everything works correctly

Wireshark

  • Install Wireshark:
brew install wireshark
  • Verify the installation:
wireshark --version
  • The output should look like this:
Wireshark 4.6.3.