Extension SDK 10.1.3.36.73

oracle.jdeveloper.library
Class JDKUtil

java.lang.Object
  extended byoracle.jdeveloper.library.JDKUtil

public final class JDKUtil
extends java.lang.Object


Nested Class Summary
static class JDKUtil.JDKExeFilter
           
 
Constructor Summary
JDKUtil()
           
 
Method Summary
static java.lang.String[] getVMChoices(java.net.URL SDKBinURL, boolean addOjvm)
           
static boolean initJDK(JDK jdk, java.net.URL javaExe)
           
static void initJDK(JDK jdk, java.net.URL exe, java.lang.String version, java.lang.String clsPath, java.lang.String home)
           
static boolean ojvmUptodate(JDK jdk)
          ojvmUpdate() will check if ojvm in the sepcified JDK is up to date or not.
static boolean updateOjvm(JDK jdk, boolean forceInstall)
          updateOjvm() will update the ojvm directory if needed by: - checking the ojvm contents only if we haven't already so before - if not done, will look if the ojvm needs to be updated by comparing the source ojvm with the target one - if update is needed, the user will be asked if the jvm should be updated/deployed in the target directory
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JDKUtil

public JDKUtil()
Method Detail

initJDK

public static boolean initJDK(JDK jdk,
                              java.net.URL javaExe)

initJDK

public static void initJDK(JDK jdk,
                           java.net.URL exe,
                           java.lang.String version,
                           java.lang.String clsPath,
                           java.lang.String home)

getVMChoices

public static java.lang.String[] getVMChoices(java.net.URL SDKBinURL,
                                              boolean addOjvm)

updateOjvm

public static boolean updateOjvm(JDK jdk,
                                 boolean forceInstall)
updateOjvm() will update the ojvm directory if needed by: - checking the ojvm contents only if we haven't already so before - if not done, will look if the ojvm needs to be updated by comparing the source ojvm with the target one - if update is needed, the user will be asked if the jvm should be updated/deployed in the target directory


ojvmUptodate

public static boolean ojvmUptodate(JDK jdk)
ojvmUpdate() will check if ojvm in the sepcified JDK is up to date or not.

Returns:
true if the jvm is up to date and else false

Extension SDK 10.1.3.36.73

 

Copyright © 1997, 2005, Oracle.All rights reserved.