Re: Java Web Start
On Mar 31, 1:36 am, carmelo <csa...@tiscali.it> wrote:
I need to run a Java app using Java Web Start.
I'm using the following launch.jnlp file:
<?xml version="1.0" encoding="UTF-8"?>
<jnlp codebase="http://localhost:8080/webstart/DesktopApplication_db/"
href="launch.jnlp">
<information>
<title>Database Application Example</title>
<vendor>Sun Microsystems Inc.</vendor>
</information>
<resources>
<jar href="DesktopApplication_db.jar" main="true"/>
<jar href="lib/appframework-1.0.3.jar"/>
<jar href="lib/swing-worker-1.1.jar"/>
<jar href="lib/beansbinding-1.2.1.jar"/>
<jar href="lib/toplink-essentials.jar"/>
<jar href="lib/toplink-essentials-agent.jar"/>
<jar href="lib/mysql-connector-java-5.1.6-bin.jar"/>
</resources>
<application-desc main-
class="desktopapplication_db.DesktopApplication_db">
</application-desc>
</jnlp>
That launch file appears invalid. It is probably not
the source of the immediate problem, but to be sure it
will work, it is best to validate it.
Try using JaNeLA* to identify the problems.
* <http://pscode.org/janela/>
As to the error you quoted later, it seems that
whatever .jar that SPI file is supposed to be
in, is not on the application's classpath.
JaNeLA will also warn of any resources mentioned
in the launch file, that are not found.
--
Andrew T.
pscode.org