Class JVM

java.lang.Object
org.jdesktop.swingx.util.JVM

public class JVM extends Object
Deals with the different version of the Java Virtual Machine.
  • Field Details

  • Constructor Details

    • JVM

      public JVM()
      Creates a new JVM data from the java.version System property
    • JVM

      public JVM(String p_JavaVersion)
      Constructor for the OS object
  • Method Details

    • current

      public static JVM current()
      Returns:
      the current JVM object
    • isOrLater

      public boolean isOrLater(int p_Version)
    • isOneDotOne

      public boolean isOneDotOne()
    • isOneDotTwo

      public boolean isOneDotTwo()
    • isOneDotThree

      public boolean isOneDotThree()
    • isOneDotFour

      public boolean isOneDotFour()
    • isOneDotFive

      public boolean isOneDotFive()
    • isOneDotSix

      public boolean isOneDotSix()
    • isOneDotSixUpdateN

      public boolean isOneDotSixUpdateN()
      Determines if the version of JDK1_6 has Nimbus Look and Feel installed.
      Returns:
      true if Nimbus is available and the version is 1.6; false otherwise
    • isOneDotSeven

      public boolean isOneDotSeven()
    • isOneDotEight

      public boolean isOneDotEight()
    • isOneDotNine

      public boolean isOneDotNine()