File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Classpath" Watch "Classpath" New topic


Sebastiaan Kortleven
Ranch Hand

Joined: Mar 12, 2004
Posts: 81
Hi all,

I'm new to WS and would like to deploy an application I'm developing though this technology.
When I run the jar file all works just fine, but launching it through web start gives me an classnotexception, although all the necessary jars are being dl'ed..

Here's my JNLP file:

And this is what my manifest looks like (of aqt.jar)

The resulting error looks like this:

The org/apache/commons/collections/SequencedHashMap class is located in lib/commons-collections-2.1.1.jar

What am I doing wrong?
Somnath Jamdar

Joined: May 28, 2004
Posts: 24

I had came across to a very similar problem like u r talking about

I resolved it eventually.

Here are the possible reason why u r code might not be working

1] Any how make sure that ur required JARs (with the latest version) have downloaded by Java Web Starts before launching the app at client end

2] Be sure u signed all JARs with the same key

3] Try to work-around the prob by placing all JARs in the same directory
and in manifest file just give the dot-separated (.) list of JARs so
that during execution of the app at client side it will look-for resources into the application dir (current directory)

I used JNPL for a integrating Java App to a PHP page where my web application is running

Hope this will help u a bit

- Somnath

Somnath Jamdar<br />SCJP, SCWCD
Somnath Jamdar

Joined: May 28, 2004
Posts: 24
Try using -i option while creating a jar

more details at:
I agree. Here's the link:
subject: Classpath
jQuery in Action, 3rd edition