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

Can not set environment correctly on JDK < 11 #422

Closed
gnodet opened this issue Jun 2, 2021 · 0 comments
Closed

Can not set environment correctly on JDK < 11 #422

gnodet opened this issue Jun 2, 2021 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@gnodet
Copy link
Contributor

gnodet commented Jun 2, 2021

The following warning appears on OpenJDK < 11:

➜  maven-integration-testing git:(master) mvnd -v
mvnd native client 0.5.0-darwin-amd64 (ce80fc5ed8b7858af8ce16119336b43d5776bb13)Terminal: org.jline.terminal.impl.PosixSysTerminal with pty org.jline.terminal.impl.jansi.osx.OsXNativePty
[WARN] Environment mismatch ! Could not set the environment (java.lang.NoSuchFieldException: userDir)
[WARN] A few environment mismatches have been detected between the client and the daemon.
[WARN] If the difference matters to you, stop the running daemons using mvnd --stop and
[WARN] start a new daemon from the current environment by issuing any mvnd build command.
Apache Maven 3.8.1 (05c21c65bdfed0f71a2f2ada8b84da59348c4c5d)
Maven home: /usr/local/Cellar/mvnd/0.5.0/libexec/mvn
Java version: 1.8.0_292, vendor: AdoptOpenJDK, runtime: /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/jre
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"
@gnodet gnodet added this to the 0.5.1 milestone Jun 2, 2021
@gnodet gnodet self-assigned this Jun 2, 2021
@gnodet gnodet added the bug Something isn't working label Jun 2, 2021
@gnodet gnodet closed this as completed in 2db9e89 Jun 4, 2021
gnodet added a commit that referenced this issue Jun 4, 2021
Fix the environment update, fixes #422
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant