An error occurred while launching/running the j2re1.4.0 installer application on Windows2K, j2re1.3.0_02 installer working fine
Test case used: http://comanche.sfbay.sun.com/jawstest/merlin/jmf/jmf_alljava.jnlp
Jaws build from: /net/hyperion.east/space3/jtg/jaws1.3/build/*/bundles
J2re build from: /net/mizu.sfbay/usr/re/jdk/jdk1.4.2/bundles/*/latest
I tried Jaws build 1.2-beta(build11) with the same j2re - it is working fine.
Log file:
General:
An error occurred while launching/running the application.
Title: J2RE 1.4.0 Installer (US)
Vendor: Sun Microsystems, Inc.
Category: Unexpected Error
String index out of range: -1
Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source) at
com.sun.javaws.installers.Main.install(Main.java:151) at
com.sun.javaws.installers.Main.main(Main.java:610) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
com.sun.javaws.Launcher.executeApplication(Unknown Source) at
com.sun.javaws.Launcher.executeMainClass(Unknown Source) at
com.sun.javaws.Launcher.continueLaunch(Unknown Source) at
com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at
com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at
com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown
Source)Console:
Java Web Start 1.4.2-internal Console, started Thu Aug 29 14:07:46 PDT 2002Java
2 Runtime Environment: Version 1.4.2-beta by Sun Microsystems Inc.Logging to
file: F:\Documents and Settings\Administrator\My Documents\log.txtDownloading:
http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServlet/j2se/jav
aws-1_0_1-j2re-1_4_0-data-win.jarInstaller resource: jre.datUnpacked installer
to: F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59066.datexec string
!F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59066.dat -s -a -s
-f1F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59067iss!execute
!F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59066.dat -s -a -s
-f1F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59067iss!F:\Documents and
Settings\Administrator\.javaws\cache\.ext\E1030655273667\bin\\javaw.exeRemoving:
http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServlet/j2se/jav
aws-1_0_1-j2re-1_4_0-data-win.jar/null
Launch file:
<?xml version="1.0" encoding="utf-8"?><jnlp
codebase="http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServle
t/j2se"> <information> <title>J2RE 1.4.0 Installer (US)</title>
<vendor>Sun Microsystems, Inc.</vendor> </information> <security>
<all-permissions/> </security> <resources> <j2se version="1.3+"
href="http://java.sun.com/products/autodl/j2se"/> <jar
href="javaws-1_0_1-j2re-1_4_0-inst-win.jar" /> <jar
href="javaws-1_0_1-j2re-1_4_0-data-win.jar" download="lazy"/> <property
name="javaVersion" value="1.4.0"/> <property name="installerLocation"
value="javaws-1_0_1-j2re-1_4_0-data-win.jar"/> <property
name="installerEntry" value="jre.dat"/> <property name="licenseEntry"
value="LICENSE"/> <property name="lib" value="j2re-installer"/>
<property name="msvcrt.versionMS" value="60000"/> <property
name="msvcrt.versionLS" value="20910000"/> <property name="execString"
value="{0} -s -a -s -f1{1}"/> <property name="javaPath"
value="bin\\javaw.exe"/> <property name="verbose" value="true"/>
<property name="merlin" value="true"/> <property
name="isWindowsInstall" value="true"/> <nativelib
href="javaws-1_0_1-j2re-1_4_0-native-win.jar" /> </resources> <installer-desc
main-class="com.sun.javaws.installers.Main"/></jnlp>
Test case used: http://comanche.sfbay.sun.com/jawstest/merlin/jmf/jmf_alljava.jnlp
Jaws build from: /net/hyperion.east/space3/jtg/jaws1.3/build/*/bundles
J2re build from: /net/mizu.sfbay/usr/re/jdk/jdk1.4.2/bundles/*/latest
I tried Jaws build 1.2-beta(build11) with the same j2re - it is working fine.
Log file:
General:
An error occurred while launching/running the application.
Title: J2RE 1.4.0 Installer (US)
Vendor: Sun Microsystems, Inc.
Category: Unexpected Error
String index out of range: -1
Exception:
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(Unknown Source) at
com.sun.javaws.installers.Main.install(Main.java:151) at
com.sun.javaws.installers.Main.main(Main.java:610) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
com.sun.javaws.Launcher.executeApplication(Unknown Source) at
com.sun.javaws.Launcher.executeMainClass(Unknown Source) at
com.sun.javaws.Launcher.continueLaunch(Unknown Source) at
com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) at
com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) at
com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown
Source)Console:
Java Web Start 1.4.2-internal Console, started Thu Aug 29 14:07:46 PDT 2002Java
2 Runtime Environment: Version 1.4.2-beta by Sun Microsystems Inc.Logging to
file: F:\Documents and Settings\Administrator\My Documents\log.txtDownloading:
http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServlet/j2se/jav
aws-1_0_1-j2re-1_4_0-data-win.jarInstaller resource: jre.datUnpacked installer
to: F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59066.datexec string
!F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59066.dat -s -a -s
-f1F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59067iss!execute
!F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59066.dat -s -a -s
-f1F:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\jre59067iss!F:\Documents and
Settings\Administrator\.javaws\cache\.ext\E1030655273667\bin\\javaw.exeRemoving:
http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServlet/j2se/jav
aws-1_0_1-j2re-1_4_0-data-win.jar/null
Launch file:
<?xml version="1.0" encoding="utf-8"?><jnlp
codebase="http://dlres.java.sun.com/servlet/com.sun.jsc.javasoft.jaws.JNLPServle
t/j2se"> <information> <title>J2RE 1.4.0 Installer (US)</title>
<vendor>Sun Microsystems, Inc.</vendor> </information> <security>
<all-permissions/> </security> <resources> <j2se version="1.3+"
href="http://java.sun.com/products/autodl/j2se"/> <jar
href="javaws-1_0_1-j2re-1_4_0-inst-win.jar" /> <jar
href="javaws-1_0_1-j2re-1_4_0-data-win.jar" download="lazy"/> <property
name="javaVersion" value="1.4.0"/> <property name="installerLocation"
value="javaws-1_0_1-j2re-1_4_0-data-win.jar"/> <property
name="installerEntry" value="jre.dat"/> <property name="licenseEntry"
value="LICENSE"/> <property name="lib" value="j2re-installer"/>
<property name="msvcrt.versionMS" value="60000"/> <property
name="msvcrt.versionLS" value="20910000"/> <property name="execString"
value="{0} -s -a -s -f1{1}"/> <property name="javaPath"
value="bin\\javaw.exe"/> <property name="verbose" value="true"/>
<property name="merlin" value="true"/> <property
name="isWindowsInstall" value="true"/> <nativelib
href="javaws-1_0_1-j2re-1_4_0-native-win.jar" /> </resources> <installer-desc
main-class="com.sun.javaws.installers.Main"/></jnlp>