macOS PKG installer packages

Eclipse Temurin macOS installer packages are available as standard .pkg files, which can be run with an interactive user interface or run silently from the Terminal command line.

GUI installation

Instructions for running an interactive installation using the macOS PKG installer:

  1. Download the .pkg file.

  2. Navigate to the folder that contains the file and open it to launch the installation program or drag the icon to your Application folder.

  3. The Introduction screen indicates the target location for the installation, which you can change later in the install process. Click Continue.

  4. Read the license, click Continue and accept the license if you are happy with the terms.

  5. Change the target location for the installation. Click Install to complete the installation.

Command-line installation

A silent installation allows you to install the macOS package without user interaction, which can be useful for widescale deployment. You must have administrator privileges. Follow these steps:

  1. Download the .pkg file.

  2. Launch the Terminal app (terminal.app).

  3. Run the following command:

    installer -pkg <path_to_pkg>/<pkg_name>.pkg -target /
  4. Enter the Administrator password

  5. Temurin installs to /Library/Java/JavaVirtualMachines/temurin-<version>.<jdk|jre>/


DOCUMENTATION AUTHORS
  • gdams
  •  SueChaplain
  •  karianna
Help us make these docs great!
All Adoptium docs are open source. See something that's wrong or unclear?
Edit this page