You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Mathias Hermansson edited this page Oct 11, 2022
·
2 revisions
Java Editions available
OpenJDK
OpenJDK is the preferred JDK (because of its Open Source license).
The Scoop Java bucket contains five different OpenJDK builds.
Oracle OpenJDK
Oracle's OpenJDK version (openjdk.json) can be installed with:
scoop install openjdk
AdoptOpenJDK
AdoptOpenJDK has versions with HotSpot and Eclipse OpenJ9 JVMs.
Oracle HotSpot JVM
OpenJDK 8 with Oracle HotSpot JVM
adopt8-upstream.json is the preferred Java 8 JDK. Oracle does not distribute Oracle 8 JDK:s anymore, see FAQ here. Oracle 8 JRE is available through the oraclejre8.json manifest.
scoop reset works very well for the current session, and will also update the user's path. Please note https://github.com/lukesampson/scoop/issues/3822 - currently this isn't working for all available packages.
Globally installed javas takes precedence over user-installed javas, so running sudo scoop install -g oraclejdk-lts will install a java that is always default for new sessions.