S
Subhash
Below is the jnlp file and the error I get on launching it. I am not
sure what the problem is. All files (.jnlp, .jar, etc) are in the same
folder and the jar file works perfectly fine. Using Apache, Tomcat and
XP Pro.
Please help. Thanks.
--- JNLP ---
<jnlp spec="1.0+"
codebase="http://localhost/test/" href="BrowserLauncher.jnlp">
<information>
<title>BrowserLauncher</title>
<description>Lauches your default browser</description>
</information>
<resources>
<j2se version="1.2+" />
<jar href="BrowserLauncher.jar" />
</resources>
</jnlp>
--- END ---
--- ERROR ---
An error occurred while launching/running the application.
Category: Launch File Error
The following required field is missing from the launch file: <jnlp>
MissingFieldException[ The following required field is missing from
the launch file: <jnlp>]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.Main.main(Unknown Source)
--- END ---
sure what the problem is. All files (.jnlp, .jar, etc) are in the same
folder and the jar file works perfectly fine. Using Apache, Tomcat and
XP Pro.
Please help. Thanks.
--- JNLP ---
<jnlp spec="1.0+"
codebase="http://localhost/test/" href="BrowserLauncher.jnlp">
<information>
<title>BrowserLauncher</title>
<description>Lauches your default browser</description>
</information>
<resources>
<j2se version="1.2+" />
<jar href="BrowserLauncher.jar" />
</resources>
</jnlp>
--- END ---
--- ERROR ---
An error occurred while launching/running the application.
Category: Launch File Error
The following required field is missing from the launch file: <jnlp>
MissingFieldException[ The following required field is missing from
the launch file: <jnlp>]
at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown
Source)
at com.sun.javaws.Main.main(Unknown Source)
--- END ---