You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/04/27 16:22:29 UTC
[GitHub] [maven-surefire] akomakom edited a comment on pull request #288: SUREFIRE-1234 Set java home from toolchain
akomakom edited a comment on pull request #288:
URL: https://github.com/apache/maven-surefire/pull/288#issuecomment-620089356
> You think that the java process won't set/override the JAVA_HOME for itself even if we did not specify it in the list of env for the inheritance?
I can tell you from local testing, that without this change I get the main jvm's JAVA_HOME. I'm using a test that prints out the variable:
```java
@Test
public void printJavaHome() throws Exception {
System.out.println("JAVA_HOME=" + System.getenv("JAVA_HOME"));
}
```
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org