ppalaga commented on issue #608:
URL: https://github.com/apache/maven-mvnd/issues/608#issuecomment-1074952245


   We wanted to keep the daemon Java 8 compatible and that's why we avoided 
getting the PID via standard Java 9+ API `ProcessHandle.current().pid()`. We 
use `ManagementFactory.getRuntimeMXBean().getName().split("@", 0)[0]` instead, 
which apparently does not work on your system.
   
   Could you please paste the output of 
`ManagementFactory.getRuntimeMXBean().getName()` on your machine using the same 
JDK that mvnd uses? I guess something like the following could work:
   
   ```
   echo "java.lang.management.ManagementFactory.getRuntimeMXBean().getName()" | 
C:\Program Files\OpenJDK\openjdk-11.0.13_8\bin\jshell
   ```
   
   


-- 
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.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to