How to Roll Back to Java 8 on Mac OS
Downgrading from Java 9 to Java 8 on Mac OS
If you’ve recently updated your Mac OS to Java 9 and encountered compatibility issues or simply prefer using Java 8, this comprehensive guide will walk you through the step-by-step process of reverting back to Java 8.
Switching to Java 8 on Mac OS
To switch to Java 8 on your Mac OS, follow these straightforward steps:
- Begin by uninstalling Java 9 from your system. Navigate to the Applications folder and locate the Java 9 installation directory.
- Once you’ve found the Java 9 installation directory, move it to the Trash to delete it. Note that you may be required to enter your administrator password for authentication.
- Next, download the Java 8 JDK (Java Development Kit) from the official Oracle website. Ensure you select the version that is compatible with your Mac OS.
- After the download is complete, find the Java 8 JDK file and double-click on it to initiate the installation process.
- Follow the instructions on your screen and complete the installation of Java 8 on your Mac OS.
Reinstalling Java 8 after Removing Java 9 on Mac OS
Once you’ve successfully uninstalled Java 9 and installed Java 8, you can verify the installation using the following steps:
- Launch the Terminal application on your Mac OS.
- Type the following command and press Enter:
java -version
- If the displayed version of Java is 8.x.x, then you have successfully rolled back to Java 8.
By following these instructions, you can effortlessly downgrade your Java version from 9 to 8 on your Mac OS. Remember to always select the version that is compatible with your system to ensure optimal performance and compatibility with Java applications.
Click on the above image to discover more about deleting Java 9 on your Mac OS.