how could I request Java garbage collection externally, starting the program from JAR (Windows BAT used)?
System.gc(
You can use jconsole to connect to a JVM that is running locally - This provides a "Perform GC" button on the GUI.
You'll need to specify -Dcom.sun.management.jmxremote when you kick off your java process.