public abstract class JavaHome
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
getJavaHomeToolsDirName()
Gets the Java tools directory name.
|
static java.lang.String |
getKeytoolFileName(java.lang.String javaHomeToolsDirName)
Gets the full name of the executable file containing the keytool
|
public static java.lang.String getKeytoolFileName(java.lang.String javaHomeToolsDirName) throws NotFoundException
javaHomeToolsDirName
- The path name of the directory/folder containing the java tools' executablesNotFoundException
- If the directory named by javaHomeToolsDirName does not contain a file whose name starts with "keytool"public static java.lang.String getJavaHomeToolsDirName()