I would like to see what Eclipse executes on the command-line when launching my Java program. How can I access this?
For example, to run myClass.class, Eclipse will use something similar to this: java.exe -classpath "H:\Eclipse_workspace\Example1\bin;.... myClass.class. Is there a way to get this command?
You could use the RuntimeMXBean within the application that is launched by eclipse.