Java Platform Information : OS « Development Class « Java






Java Platform Information

     
public class Util{

  public static String[] getJREInfo()
  {
    return new String[]
    { //
    "Java Platform Information", //
        "Java Runtime  Name: " + System.getProperty("java.runtime.name"), //
        "Java Version: " + System.getProperty("java.version"), //
        "Java Class Version: " + System.getProperty("java.class.version"), //
    };
  }

}

   
    
    
    
    
  








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.Virtual Machine Information (JVM)
10.Get OS Info
11.Platform Detector
12.OS detector
13.OS name
14.Operating System