Skip to content
This repository has been archived by the owner on Dec 5, 2023. It is now read-only.

Upgrade to Java 18. #41

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

etep
Copy link

@etep etep commented May 16, 2022

Signed-off-by: Pete Stevenson [email protected]

  • Read the contribution guidelines
  • Include a reference to a related issue in this repository
  • A description of the changes proposed in the pull request

Pete Stevenson added 2 commits May 16, 2022 14:48
Signed-off-by: Pete Stevenson <[email protected]>
Copy link

@philkuz philkuz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Pete, revisiting this now and I think you fell into a trap that I fell into as well. Your current diff won't work on a fresh repo: the JRE that's defined in the Dockerfile docker/carts/Dockerfile would not run anything compiled by this JDK. The JRE is version 11 while you're compiling 18.

The issue is because maven will not build anything if target exists and target is gitignored by this repo. So you probably just used the first result (the JDK 11 result) and that got uploaded into your container.

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

Successfully merging this pull request may close these issues.

2 participants