How to install Java 8 (JDK 8) on Mac OS: step-by-step guide for beginners
Hello everyone! I just started learning Java and ran into a problem. I need to install Java 8 (JDK 1.8) on my MacBook Air with macOS Ventura. I saw in the course that for some old projects and Android development, Java 8 is specifically needed, not the latest version.
I tried downloading the installer from the official Oracle website, but they only offer Java 17 and Java 21. I found some links to the archive, but got confused. I tried installing via Homebrew with the command `brew install java8`, but it gave an error "No available formula with the name 'java8'".
I'm a beginner on Mac, previously I only worked on Windows. I can't figure out how to properly install the old version so it doesn't conflict with the new one. Please show me a simple and working way to install Java 8 on Mac.
Here's what I tried:
```java
// Th
No answers yet.
Log in to leave an answer
Blogs
How to Write a REST API in Rust in 30 Minutes: A Step-by-Step Guide