All Projects β†’ AdoptOpenJDK β†’ Homebrew Openjdk

AdoptOpenJDK / Homebrew Openjdk

Licence: apache-2.0
AdoptOpenJDK HomeBrew Tap

Programming Languages

ruby
36898 projects - #4 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to Homebrew Openjdk

Homebrew Bio
πŸΊπŸ”¬ Bioinformatics formulae for the Homebrew package manager (macOS and Linux)
Stars: ✭ 237 (-86.82%)
Mutual labels:  hacktoberfest, homebrew
homebrew-devops
🍺 DevOps / SRE formulae for the @Homebrew package manager.
Stars: ✭ 36 (-98%)
Mutual labels:  homebrew, homebrew-tap
homebrew-llvm
LLVM formulae for the Homebrew package manager
Stars: ✭ 23 (-98.72%)
Mutual labels:  homebrew, homebrew-tap
Borealis
Hardware accelerated, controller and TV oriented UI library for PC and Nintendo Switch (libnx).
Stars: ✭ 135 (-92.49%)
Mutual labels:  hacktoberfest, homebrew
homebrew-chunkwm
Homebrew Tap for Chunkwm tiling window manage (https://github.com/koekeishiya/chunkwm)
Stars: ✭ 47 (-97.39%)
Mutual labels:  homebrew, homebrew-tap
Nxdk
The cross-platform, open-source SDK to develop for original Xbox: *new* xdk
Stars: ✭ 200 (-88.88%)
Mutual labels:  hacktoberfest, homebrew
homebrew-extensions
🍻 Homebrew tap for PHP extensions
Stars: ✭ 264 (-85.32%)
Mutual labels:  homebrew, homebrew-tap
Homebrew
Development repository for the homebrew cookbook
Stars: ✭ 137 (-92.38%)
Mutual labels:  hacktoberfest, homebrew
homebrew-proxmark3
Homebrew tap containing proxmark3 software/firmware
Stars: ✭ 23 (-98.72%)
Mutual labels:  homebrew, homebrew-tap
homebrew-i386-elf-toolchain
Homebrew formulas for buildling a valid GCC toolchain for the i386-elf target.
Stars: ✭ 62 (-96.55%)
Mutual labels:  homebrew, homebrew-tap
homebrew-pourhouse
My homebrew tap, serving up casks from EclecticLightCo!
Stars: ✭ 78 (-95.66%)
Mutual labels:  homebrew, homebrew-tap
Linuxbrew Core
🍻🐧 Core formulae for the Homebrew package manager on Linux
Stars: ✭ 999 (-44.44%)
Mutual labels:  hacktoberfest, homebrew
homebrew-essentia
Homebrew build scripts for Essentia
Stars: ✭ 25 (-98.61%)
Mutual labels:  homebrew, homebrew-tap
Asimov
Automatically exclude development dependencies from Apple Time Machine backups
Stars: ✭ 705 (-60.79%)
Mutual labels:  hacktoberfest, homebrew
Homebrew Core
🍻 Default formulae for the missing package manager for macOS (or Linux)
Stars: ✭ 10,450 (+481.2%)
Mutual labels:  hacktoberfest, homebrew
Docker Mailman
Dockerfiles for the mailman suite.
Stars: ✭ 130 (-92.77%)
Mutual labels:  hacktoberfest
Ookii Dialogs Winforms
Common dialog classes for Windows Forms applications
Stars: ✭ 130 (-92.77%)
Mutual labels:  hacktoberfest
Mail
Mail app designed for elementary OS
Stars: ✭ 130 (-92.77%)
Mutual labels:  hacktoberfest
Typescript Vs Flowtype
Differences between Flowtype and TypeScript -- syntax and usability
Stars: ✭ 1,671 (-7.06%)
Mutual labels:  hacktoberfest
Docker Influxdb Grafana
A Docker container which runs InfluxDB and Grafana ready for persisting data
Stars: ✭ 130 (-92.77%)
Mutual labels:  hacktoberfest

⚠ DEPRECATION NOTICE ⚠

This homebrew tap is officially deprecated in favor of the temurin casks provided directly from the Homebrew project, and will receive no further updates after 2021-08-01 (Aug 01, 2021). Please adjust your usage accordingly:

Untap this brew tap:

$ brew untap AdoptOpenJDK/openjdk

To download the latest version (16):

$ brew install --cask temurin

To install other versions:

$ brew tap homebrew/cask-versions
$ brew install --cask temurin8

AdoptOpenJDK - HomeBrew TAP

Usage

To always get the latest and greatest AdoptOpenJDK, run:

$ brew install --cask adoptopenjdk

The adoptopenjdk cask will automatically upgrade to the newest patch or major release as soon as it comes out.

To stay with a specific major release, activate the AdoptOpenJDK tap with brew tap and then install the desired version with brew install --cask <version>:

$ brew tap AdoptOpenJDK/openjdk
$ brew install --cask <version>

To install AdoptOpenJDK 14 with HotSpot, run:

$ brew tap AdoptOpenJDK/openjdk
$ brew install --cask adoptopenjdk14

Multiple major releases can be installed side-by-side. To get a list of available versions, run brew search adoptopenjdk or see the list here in the README.

Available Versions

Java Version JDK JRE
Latest OpenJDK with Hotspot JVM adoptopenjdk adoptopenjdk-jre
Latest OpenJDK with OpenJ9 JVM adoptopenjdk-openj9 adoptopenjdk-openj9-jre
OpenJDK8 with Hotspot JVM adoptopenjdk8 adoptopenjdk8-jre
OpenJDK8 with OpenJ9 JVM adoptopenjdk8-openj9 adoptopenjdk8-openj9-jre
OpenJDK9 with Hotspot JVM adoptopenjdk9 n/a
OpenJDK10 with Hotspot JVM adoptopenjdk10 n/a
OpenJDK11 with Hotspot JVM adoptopenjdk11 adoptopenjdk11-jre
OpenJDK11 with OpenJ9 JVM adoptopenjdk11-openj9 adoptopenjdk11-openj9-jre
OpenJDK12 with Hotspot JVM adoptopenjdk12 adoptopenjdk12-jre
OpenJDK12 with OpenJ9 JVM adoptopenjdk12-openj9 adoptopenjdk12-openj9-jre
OpenJDK13 with Hotspot JVM adoptopenjdk13 adoptopenjdk13-jre
OpenJDK13 with OpenJ9 JVM adoptopenjdk13-openj9 adoptopenjdk13-openj9-jre
OpenJDK14 with Hotspot JVM adoptopenjdk14 adoptopenjdk14-jre
OpenJDK14 with OpenJ9 JVM adoptopenjdk14-openj9 adoptopenjdk14-openj9-jre
OpenJDK15 with Hotspot JVM adoptopenjdk15 adoptopenjdk15-jre
OpenJDK15 with OpenJ9 JVM adoptopenjdk15-openj9 adoptopenjdk15-openj9-jre
OpenJDK16 with Hotspot JVM adoptopenjdk16 adoptopenjdk16-jre
OpenJDK16 with OpenJ9 JVM adoptopenjdk16-openj9 adoptopenjdk16-openj9-jre

Switch between different JDK versions

  1. Add the below function in your ~/.bashrc or ~/.zshrc
jdk() {
        version=$1
        export JAVA_HOME=$(/usr/libexec/java_home -v"$version");
        java -version
 }

For Fish shell user, add the below function in your ~/.config/fish/functions

function jdk
	set java_version $argv
	set -Ux JAVA_HOME (/usr/libexec/java_home -v $java_version)
	java -version
end
  1. Source the profile and you can change the version like below:
 jdk 1.8
 jdk 9
 jdk 11
 jdk 13

Adding a new cask

If a new major version has been released (e.g 14) add it to casks.txt. Normally you just need to copy the list of casks from the previous major version. e.g

# OpenJDK14
adoptopenjdk14
adoptopenjdk14-jre
adoptopenjdk14-openj9
adoptopenjdk14-openj9-jre
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].