Install Native Java JDK JRE on Apple Silicon M1 Mac


Installing Native Java on Mac M1 Silicon
Installing Native Java on Mac M1 Silicon

If you are using M1 Macbook or Mac mini computer, you must have noticed that Java from Oracle is not yet build for M1 Silicon chip yet! So if you install Java from Oracle it will work but not natively - it will make use of Rosetta 2, you would see that the performance will take a hit.

If you want to run Java JDK or JRE natively on M1 Mac you can make use of Azul Zulu Builds for Java JDK/JREs,

  1. Go to: https://www.azul.com/downloads/zulu-community/?package=jdk if you want to install JDK or https://www.azul.com/downloads/zulu-community/?package=jre to install JRE.
  2. Select Java Version: (8, 9, 10, 11, 12, 13, 14, 15)
  3. Select Operating Sytem: macOS
  4. Select Architecture: ARM-64
  5. You will get links to download the setup as zip/dmg/tar.gz format - download anyone you prefer.
Azul Zulu builds for ARM 64-bit Architecture
Azul Zulu builds for ARM 64-bit Architecture

If you download the dmg package the installation is quite simple - Double click on Zulu.dmg file and on the popup click on "Double-Click to install Zulu X.x.x.x and follow the installation.

Note: Java will be installed at /Library/Java/JavaVirtualMachines/ example if you install Java 11 - /Library/Java/JavaVirtualMachines/zulu-11.jdk

Advertisements
Try Out Code2care Dev Tools:

Advertisements



Android Java Linux Microsoft Google Python macOS Notepad++ Microsoft Teams CSS PHP SharePoint Html Linux C Programs Bootstrap jQuery Sublime Android Studio Facebook Eclipse WhatsApp News MySQL Json HowTos JavaScript FTP S3


Advertisements


Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Tutorials, Trouble-Shooting steps, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.
๐ŸŽ‰ We are celebrating the 10th years of Code2care! Thank you for all your support! We hope we made a difference.
We strong support Gender Equality & Diversity.

We stand in solidarity with Ukraine - Make a donation to UNHCR - https://donate.unhcr.org/in/en-in/ukraine-emergency