Skip to content

[BUG][Homebrew] Homebrew instructions for installing Java do not work #6628

Description

@johnthagen

The instructions here: https://github.com/OpenAPITools/openapi-generator/blob/master/README.md#15---homebrew

To install OpenJDK (pre-requisites), please run

brew cask install adoptopenjdk12
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-12.0.2.jdk/Contents/Home/

Do not work when I try them (Latest Homebrew, macOS 10.15.5):

% brew cask install adoptopenjdk12
Updating Homebrew...
Error: Cask 'adoptopenjdk12' is unavailable: No Cask with this name exists.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions