Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support to install openjdk 8 on mac arm #19442

Closed
1 task done
vanshika0227 opened this issue Mar 7, 2025 · 2 comments
Closed
1 task done

Support to install openjdk 8 on mac arm #19442

vanshika0227 opened this issue Mar 7, 2025 · 2 comments

Comments

@vanshika0227
Copy link

Verification

Provide a detailed description of the proposed feature

I want to install open jdk 8 on mac arm and would like brew to provide support for the same.

What is the motivation for the feature?

Running java 8 applications on mac arm

How will the feature be relevant to at least 90% of Homebrew users?

Java 8 is not outdated yet and hence many users will be benefited by this. Many MNCs use jaav 8 for their applications but have migrated to mac arm.

What alternatives to the feature have been considered?

direct download from oracle and install manually

@Bo98
Copy link
Member

Bo98 commented Mar 7, 2025

OpenJDK and Oracle Java aren't quite the same. OpenJDK is an open source product whereas Oracle Java is a closed source product with a strict license agreement limiting what you can do unless you pay Oracle. We ship OpenJDK. Downloading Oracle Java 8 asks you to login with an account anyway.

OpenJDK 8 is not supported on arm64. It was initially supported on OpenJDK 17 and later and then later backported to OpenJDK 11.

Oracle internally decided to backport those changes to Oracle's Java SE 8 and keep it private. There is no source code available for it so it cannot be ported to OpenJDK 8.

There has been some push to get Oracle to release arm64 support for OpenJDK 8 but nothing has happened there yet. Last I heard was they were trying to see if they could release a minimised version but that was nearly a year ago now.

You'll need to ask Oracle if there's any update there. Not quite clear from your issue, but if you are already using Oracle Java 8 in a MNC, you probably already have a license agreement with Oracle and thus someone you can contact.

@Bo98 Bo98 closed this as not planned Won't fix, can't repro, duplicate, stale Mar 7, 2025
@gromgit
Copy link
Contributor

gromgit commented Mar 7, 2025

@vanshika0227, if you don't particularly need OpenJDK Java 8, there are already several JDK 8 casks available:

% brew search --desc idk | grep '@8'
corretto@8: (Amazon Corretto JDK) OpenJDK distribution from Amazon
semeru-jdk-open@8: (IBM Semeru Runtime (JDK 8) Open Edition) Production-ready JDK with the OpenJDK class libraries and the Eclipse OpenJ9 JVM
temurin@8: (Eclipse Temurin 8) JDK from the Eclipse Foundation (Adoptium)
zulu@8: (Azul Zulu Java 8 Standard Edition Development Kit) OpenJDK distribution from Azul

Of the four listed above, corretto@8 and zulu@8 are native ARM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants