install JDK, not OpenJDK

Aliaksandr's Avatar


02 Feb, 2021 02:17 PM

Hello Team,

Is it any way to install JDK 10.0.2 to macos environment ? I can install only OpenJDK 10.0.2.
I would like to have (see the screenshot).

  1. 1 Posted by Aliaksandr on 02 Feb, 2021 02:32 PM

    Aliaksandr's Avatar

    I need the JDK because when i build my android application it shows (see the screenshot).

  2. Support Staff 2 Posted by Feodor Fitsner on 03 Feb, 2021 03:00 AM

    Feodor Fitsner's Avatar

    I think you can just download "macOS Compressed Archive" from official Java download page and untar it, something like this could be added to your appveyor.yml:

    - sh: curl -LOb "oraclelicense=a" -o jdk-15.0.2_osx-x64_bin.tar.gz
    - sh: tar zxf jdk-15.0.2_osx-x64_bin.tar.gz
    - sh: ./jdk-15.0.2.jdk/Contents/Home/bin/java --version

    Downloading itself looks a little bit hacky, but it works:

  3. 3 Posted by Aliaksandr on 03 Feb, 2021 08:38 AM

    Aliaksandr's Avatar

    Hello Feodor Fitsner .
    Thanks a lot, you are really helped me.
    That's shame that Oracle doesn't provide "macOS Compressed Archive" for 10 version.

  4. Support Staff 4 Posted by Feodor Fitsner on 03 Feb, 2021 11:39 PM

    Feodor Fitsner's Avatar

    You can, theoretically, mount .dmg and see its contents:

  5. 5 Posted by Aliaksandr on 04 Feb, 2021 06:37 AM

    Aliaksandr's Avatar

    Thank you!

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Already uploaded files

  • photo_2021-02-02_13-36-31.jpg 9.85 KB

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac