Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

No JRE version found in launch file for this system

843802Sep 10 2004 — edited Nov 3 2005
Hello,

I am trying to launch a JWS app on a computer that has JRE 1.4.1 and Web Start 1.2 on it. The problem is that the application is compiled with version 1.4.2 and won't launch when I simply specify J2SE version 1.4 because of a "wrong minor version number" error. So I am attempting to specify J2SE 1.4.2+ in the JNLP file and it works just fine on my computer with JRE 1.4.2_05 on it. However when I attempt to launch it on the computer with 1.4.1 on it I get the error "No JRE version found in launch file for this system". Below is all the information I could get out of the JWS console. It was my understanding that JWS was supposed to be able to download a new version of the JRE when needed. Am I specifying something wrong in the JNLP file? Any input is appreciated.

Thanks,
Dave


JNLP File

<?xml version="1.0" encoding="UTF-8"?>
<jnlp spec="1.0+" codebase="http://192.168.1.15:8080/SynchWebModule" href="WebStartClient.jnlp">
<information>
<title>Emi-Synch</title>
<vendor>Axispoint</vendor>
<homepage href="WebStartClient.html" />
<description>Webstart Client</description>
<offline-allowed />
</information>
<resources>
<j2se version="1.4.2+" href="http://java.sun.com/products/autodl/j2se" />
<property name = "ORBagentPort" value="14100"/>
<jar href="Client.jar" main="true" />
</resources>
<application-desc main-class="emi.synch.ui.SynchWebStartApplication" />
<security>
<all-permissions/>
</security>
</jnlp>



Error

An error occurred while launching/running the application.

Title: Emi-Synch
Vendor: Axispoint
Category: Launch File Error

No JRE version found in launch file for this system



Launch File

<?xml version="1.0" encoding="utf-8"?>
<jnlp codebase="http://java.sun.com/webapps/jawsautodl/AutoDL/j2se">
<information>
<title>J2RE 1.4.2 Installer</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_2-inst-windows-i586.jar" download="lazy" size="41141"/>
<jar href="javaws-1_0_1-j2re-1_4_2-data-windows-i586.jar" download="lazy" size="12465409"/>
<property name="javaVersion" value="1.4.2"/>
<property name="platformVersion" value="1.4"/>
<property name="installerLocation" value="javaws-1_0_1-j2re-1_4_2-data-windows-i586.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} {1}"/>
<property name="javaPath" value="bin\javaw.exe"/>
<property name="verbose" value="true"/>
<property name="isWindowsInstall" value="true"/>
<nativelib href="javaws-1_0_1-j2re-1_4_2-native-windows-i586.jar" size="13598"/>
</resources>
<installer-desc main-class="com.sun.webstart.installers.Main"/>
</jnlp>



Exception

JNLPException[category: Launch File Error : Exception: null : LaunchDesc:
<jnlp spec="1.0+" codebase="http://java.sun.com/webapps/jawsautodl/AutoDL/j2se/">
<information>
<title>J2RE 1.4.2 Installer</title>
<vendor>Sun Microsystems, Inc.</vendor>
<homepage href="null"/>
<description></description>
<description kind="short"></description>
<description kind="one-line"></description>
<description kind="tooltip"></description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se initial-heap-size="-1" max-heap-size="-1" href="http://java.sun.com/products/autodl/j2se" version="1.3+"/>
<jar href="http://java.sun.com/webapps/jawsautodl/AutoDL/j2se/javaws-1_0_1-j2re-1_4_2-inst-windows-i586.jar" download="lazy" main="false"/>
<jar href="http://java.sun.com/webapps/jawsautodl/AutoDL/j2se/javaws-1_0_1-j2re-1_4_2-data-windows-i586.jar" download="lazy" main="false"/>
<property name="javaVersion" value="1.4.2"/>
<property name="platformVersion" value="1.4"/>
<property name="installerLocation" value="javaws-1_0_1-j2re-1_4_2-data-windows-i586.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} {1}"/>
<property name="javaPath" value="bin\javaw.exe"/>
<property name="verbose" value="true"/>
<property name="isWindowsInstall" value="true"/>
<jar href="http://java.sun.com/webapps/jawsautodl/AutoDL/j2se/javaws-1_0_1-j2re-1_4_2-native-windows-i586.jar" download="eager" main="false"/>
</resources>
<installer-desc main-class="com.sun.webstart.installers.Main"/>
</jnlp> ]
at com.sun.javaws.Launcher.executeInstallers(Launcher.java:455)
at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:330)
at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:215)
at com.sun.javaws.Launcher.run(Launcher.java:183)
at java.lang.Thread.run(Thread.java:568)
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 1 2005
Added on Sep 10 2004
10 comments
293 views