-2

I want to install Java 8 using HomeBrew (brew) on my M1 Mac.

When I do

% brew install openjdk@8  

I get

openjdk@8: The x86_64 architecture is required for this software.
Error: openjdk@8: An unsatisfied requirement failed this build.

I already have rosetta installed (previously, from running other apps).

Update; I know that there isn't an Open JDK Java 8 binary for Apple Silicon. But I do know that , for example, the Oracle Java 8 SDK works on an M1 Mac (via Rosetta). My question is more to do with how I tell brew to install an x64 binary regardless of the stated dependencies?

Vihung
  • 12,947
  • 16
  • 64
  • 90
  • This doesn't answer the question asked in your title, but may help with what you actually want to do: [Will x64 jdk-1.8 work in Mac with Apple Silicon (M1) Chip?](https://stackoverflow.com/questions/72769846/will-x64-jdk-1-8-work-in-mac-with-apple-silicon-m1-chip) – Sam Hanley Aug 03 '23 at 13:53

0 Answers0