Is it possible to get full command line with all arguments which was used to launch current Java process and to get that during OnLoad phase in JVMTI?
I have consulted the JVMTI reference and I think that it is not natively provided, I guess your best shot is to use Byte Code Instrumentation (BCI).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With