com.ibm.di.UpdateInstaller
Class CheckForJREUpdate
java.lang.Object
com.ibm.di.UpdateInstaller.CheckForJREUpdate
public class CheckForJREUpdate
- extends Object
Allows wrapper scripts to see if the JRE is being updated by a fix or rolled
back.
Method Summary |
static void |
main(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 |
CheckForJREUpdate
public CheckForJREUpdate()
main
public static void main(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