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: if you want to install JDK or 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

Recent Posts:

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, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.