Class CheckForJREUpdate


  • public class CheckForJREUpdate
    extends java.lang.Object
    Allows wrapper scripts to see if the JRE is being updated by a fix or rolled back.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)
      main function - does checking for a JRE update
      static void report​(int rc)
      Exits reporting the return code specified so a script can access it.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CheckForJREUpdate

        public CheckForJREUpdate()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        main function - does checking for a JRE update
        Parameters:
        args - arguments in the form of one of the following: installDir backupDir JREZip -update zipFile installDir backupDir JREZip -rollback
      • report

        public static void report​(int rc)
        Exits reporting the return code specified so a script can access it.
        Parameters:
        rc - The return code