Mega Code Archive

 
Categories / Java / Development Class
 

Virtual Machine Information (JVM)

public class Util{   public static String[] getJVMInfo()   {     return new String[]     { //     "Virtual Machine Information (JVM)", //         "JVM Name: " + System.getProperty("java.vm.name"), //         "JVM installation directory: " + System.getProperty("java.home"), //         "JVM version: " + System.getProperty("java.vm.version"), //         "JVM Vendor: " + System.getProperty("java.vm.vendor"), //         "JVM Info: " + System.getProperty("java.vm.info"), //     };   } }