
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,
- 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.
- Select Java Version: (8, 9, 10, 11, 12, 13, 14, 15)
- Select Operating Sytem: macOS
- Select Architecture: ARM-64
- 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
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
More Posts related to MacOS,
- How to connect AirPods to Mac
- Display Safari URL address link on hover
- Mac turn dark mode on or off using terminal command
- Docker Desktop needs privileged access macOS
- How to install Java on macOS [Big Sur]
- How to start/boot macOS in safe mode - Big Sur 11.0, Catalina 10.15, or Mojave 10.14
- Find Mac version using terminal command
- How to fix command not found brew (bash, zsh) on macOS Terminal
- How to change default macOS Terminal Window size
- How to make EditText text to uppercase or lowercase on macOS
- Disable Startup Sound on macOS
- How to switch from bash to zsh shell in macOS Terminal
- How to make macOS Terminal window Transparent (or Opaque)
- Remove Now Playing icon from macOS Big Sur Menu Bar
- Test internet speed using macOS Terminal command
- How to change macOS Safari default language
- Encode or Decode Base64 String using Mac Terminal Command
- Safari - Get HTTP Request Response Headers
- How to open terminal on Mac to run commands
- How to install homebrew (brew) on M1 Mac
- How to display directory tree in Mac Terminal
- How to Change Mouse Wheel Scroll Direction on Mac
- MacoOS - xyz is an app downloaded from the internet. Are you sure you want to open it? Alert
- The default interactive shell is now zsh. [macOS]
- Change Terminal Cursor Type in Mac (MacOS Shell)
More Posts:
- SharePoint List redirect user after submitting form NewForm.aspx - SharePoint
- Split a String in Java with Examples - Java
- npm WARN saveError ENOENT: no such file or directory, open /mnt/c/package.json - JavaScript
- Android Studio Error: Default Activity not found - Android-Studio
- How to check if a String contains substring or a word using javaScript - JavaScript
- How to know current Ubuntu Linux version via terminal command - Ubuntu
- macOS Big Sur java.lang.UnsatisfiedLinkError CoreFoundation - Android Studio - Android-Studio
- JSP Hello World Program Tutorial with Eclipse and Tomcat Server - Java