Virtual Machine Information (JVM) : OS « Development Class « Java






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"), //
    };
  }
}

   
    
    
    
    
  








Related examples in the same category

1.Class representing a standard operating system platform, WIN, MAC, or POSIX.
2.Get OS
3.Platform specific functionality.
4.Condition that tests the OS type.
5.Class to help determining the OS
6.Splits apart a OS separator delimited set of paths in a string into multiple Strings.
7.Get the operating systemGet the operating system
8.Get the OS
9.Java Platform Information
10.Get OS Info
11.Platform Detector
12.OS detector
13.OS name
14.Operating System