Skip to main content

JVM Arguments

Learn JVM Arguments (JVM Performance, Java) with worked examples, diagrams and interview questions. Free on JavaSchoolLab.

6. Basic Concepts What are JVM Arguments? JVM arguments are command-line options passed to the java launcher that control how the JVM behaves - things like how much memory it can use, which garbage collector to run, and what diagnostic output to print. You pass them before the main class name: java [JVM arguments] -jar myapp.jar [program arguments]

More lessons in JVM Performance