-
Notifications
You must be signed in to change notification settings - Fork 0
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
Upgrading to Java 11 LTS #3
Labels
Java
Upgrading Java
Comments
rtyley
added a commit
to guardian/tagmanager
that referenced
this issue
Sep 18, 2024
This satisfies one of the updated requirements of Panda v7 - as of guardian/pan-domain-authentication#150 it requires Java 11. See also: * guardian/maintaining-scala-projects#3 * guardian/maintaining-scala-projects#8
rtyley
added a commit
to guardian/tagmanager
that referenced
this issue
Sep 18, 2024
This satisfies one of the updated requirements of Panda v7 - as of guardian/pan-domain-authentication#150 it requires Java 11. See also: * guardian/maintaining-scala-projects#3 * guardian/maintaining-scala-projects#8
rtyley
added a commit
to guardian/tagmanager
that referenced
this issue
Sep 18, 2024
This satisfies one of the updated requirements of Panda v7 - as of guardian/pan-domain-authentication#150 it requires Java 11. See also: * guardian/maintaining-scala-projects#3
rtyley
added a commit
to guardian/tagmanager
that referenced
this issue
Sep 18, 2024
This satisfies one of the updated requirements of Panda v7 - as of guardian/pan-domain-authentication#150 it requires Java 11. See also: * guardian/maintaining-scala-projects#3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Base assumption: Project is already on Java 8
Overview
Checklist
build.sbt
scalacOptions
includes"-release:11"
(even if you build under Java 21!)debianPackageDependencies
, which may be set to include"openjdk-8-jre-headless"
- you'll need to update that to"java11-runtime-headless"
javaOptions
, often these relate to RAM or GC (example), eg:-XX:MaxRAMFraction
-XX:InitialRAMFraction
-XX:+PrintGCDetails
-XX:+PrintGCDateStamps
-XX:+UseGCLogFileRotation
-XX:NumberOfGCLogFiles
-XX:GCLogFileSize
riff-raff.yaml
(if this is a deployable application)Recipe:
specifies a recipe that includes Java 11, egeditorial-tools-focal-java11-ARM-WITH-cdk-base
.github/workflows/ci.yml
guardian/setup-scala
action in favour ofsetup-java
&setup-sbt
, which moves the place you specify your Java version fromjava-version
into the.tool-versions
file to become a source-of-truth for the Java version used by the project (example)Examples
The text was updated successfully, but these errors were encountered: