javaw -jar Test.jar
In the task manager, there is only the “javaw.exe process”, and the command line does not have Test.jar path information.
How to view the path of a jar through cmd, power shell commands, or other methods
This is the information I currently have, when I use microsoft official tool Process Explorer,I got this information
The key information is Current directory. I think this is OS process concept(current working directory).
I want to do it in a simple way(like CLI)get running Jar full path,but when Jar starting in relative,I need get process CWD.
Perhaps I can simply obtain the process CWD on Linux through the CLI without coding,But I currently can’t find it on Windows.
By the way,This issue is not very important,I will close it.