[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Re: Deploying Rich Client Applications using Java Web Start

I have been trying to solve a small problem with deploying Eclipse-based
Rich Client Applications with Web Start. I get some ClassNotFoundExceptions
for classes that are there.

As I started investigating, I found that for products, plug-ins are created
as folders with JARs inside them, while for Java Web Start it is JARs with
other JARs inside them, and I believe that to be the problem.

Until now everything seems to work fine. However, when I add an external
library to the system (I used the apache log4j library[1], as an example),
I can get it to run as a product (directory structure for plug-ins), but
not as a Web Start launched application (JARs inside of JARs).

This kind of problem is an evergreen on the newsgroup. I make a wild guess as there a several possible sources for this problem.


On the build tab of your manifest.mf use "." as Runtime Information. At the moment you have probably a jar file. Click on "." (select it) and check "Include the selected library in the binary build". On the Runtime tab add "." to the classpath.

Anyway please post your manifest.mf and build.properties files. If you have a plugin.xml file with content other then extension definitions, report this too. The real exception would also help.

Ricky