I would like to know if it is possible to get from code the command used to launch a java program.
E.g. if I launch a java program with:
java -cp li
in a linux machine would be easier to run:
ps -ef | grep java
this command will list all java programs running with it's used parameters.
Not sure about what can be used in a windows environment.