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.
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 show line numbers in Nano on Mac
- How to install Jupyter Notebook on macOS Sonoma
- How to Disable Remote Management using Mac Terminal
- Test internet speed using macOS Terminal command
- Docker Desktop needs privileged access macOS
- Google Search Hot Trends Screensaver for Mac OS X
- How to do calculations in Mac Terminal
- How to make TextEdit the default text Editor on Mac
- How to Show Full Website Address on Safari for Mac (Ventura/Sonoma)
- The Zsh Shell - Mac Tutorial
- Opening mac Terminal
- How to change the name of your Mac running on macOS Ventura 13
- How to find the Battery Cycle Count on macOS Ventura
- How to set an emoji as Zsh terminal prompt in macOS
- How to access Trash Folder using Mac Terminal Command
- macOS Ventura XCode Command Line Tools Installation
- Hide Bluetooth icon on Mac Menu Bar macOS Ventura 13
- How to run .sh file in Mac Terminal
- Terminal Command to get the list of available shells in macOS
- How to see Storage Information on macOS Ventura
- How to Go To /usr/local/bin on Mac Terminal?
- How to do screen recording on Mac
- How to Find File and Directory Size in Mac Terminal
- Open .bash_profile File in TextEdit using Terminal
- Remove Now Playing icon from macOS Big Sur Menu Bar
More Posts:
- Find Covid-19 Vaccine centers on macOS or iOS Maps App - News
- Mac: Turn off Auto Capitalization of Words - MacOS
- Python: Pandas Merge With Examples - Python
- jQuery : Move to top of the page - jQuery
- How to check if a Command Exists using Bash Script - Bash
- Java JDBC Connection with MySQL Driver in VS Code + Troubleshooting - Java
- Program 8: Multiply Two Numbers - 1000+ Python Programs - Python-Programs
- Java Check Leap Year - Programs with Code Examples - Java