|
Java™ by example!
|
|
|
How do get the parameters passed to the VM at runtime?
With the new java.lang.management package in JDK 1.5, this becomes very simple now.
Main.java:
For example, run it with
outputs:
Further Information
Author of answer: Joris Van den Bogaert
Comments to this answer are only viewable by members. Login or become a member!
|
|
|
|
|