java.lang.Object
webstartservices.installer.RuntimeInstaller
- public class RuntimeInstaller
- extends java.lang.Object
RuntimeInstaller - This installer starts running before downloading the
actual runtime package from our server across http; rather like iesetup.
The address of the runtime to download from is supplied by the runtime.url
parameter; this in turn was supplied via a RuntimeMapper choice from
DownloadService.
Advantages over JREInstaller include a quicker popup, the downloaded runtime
is stored as a temp file which should automatically get deleted after use
(rather than stoge up the users WebStart cache). The runtime dosnt need
copying after downloading before we can access it, nor does it need double
jar'ing. An unintenional side-effect is that this jar won't need signing;
maybe I should revise this issue for security sake). If it has been signed it
must be valid or SecurityExceptions will be thrown.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
installerService
private ExtensionInstallerService installerService
RuntimeInstaller
public RuntimeInstaller()
main
public static void main(java.lang.String[] args)
inflateArchive
protected void inflateArchive(java.lang.String installPath,
java.util.zip.ZipFile zipFile)
throws java.lang.Exception
setExecutePermissions
private void setExecutePermissions(java.lang.String command)
throws java.io.IOException
installNativeRuntime_Win32
protected void installNativeRuntime_Win32(java.io.File tempFile)
throws java.lang.Exception
locateRuntime_Win32
protected java.io.File locateRuntime_Win32(java.lang.String version)
- Locate the runtime location for the given java vm version. Should work
for most default installs -- but isnt a robust solution; certain method
would require windows registry access via JNI.
guessAtRuntimeLocation_Win32
protected java.lang.String guessAtRuntimeLocation_Win32(java.lang.String version)