utils
Class JDKBean
java.lang.Object
utils.JDKBean
- All Implemented Interfaces:
- java.io.Serializable
public final class JDKBean
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
save
public void save()
restore
public static JDKBean restore()
getJreHome
public static java.lang.String getJreHome()
getSdkHome
public static java.lang.String getSdkHome()
getJavacCommand
public static java.io.File getJavacCommand()
- Returns:
- the location of the
javac
command.
getJarSignerPath
public static java.io.File getJarSignerPath()
- This works on windows, linux and the mac. It has not been tested on
all platforms!
- Returns:
- a file that references the jarsigner command
getJarPath
public static java.io.File getJarPath()
testGetPath
public static void testGetPath()
getRmicPath
public static java.io.File getRmicPath()
- This works on windows, linux and the mac. It has not been tested on
all platforms!
- Returns:
- location of the rmic compiler.
testJarSigner
public static void testJarSigner()
getTmpDir
public static java.lang.String getTmpDir()
testJavaCommand
public static void testJavaCommand()
main
public static void main(java.lang.String[] args)
setJreHome
public void setJreHome(java.io.File f)