Webstart problem


I'm trying to use webstart for the first time to distribute my app. I thought i had done everything right but I get an error trying to load the app. It's in swedish but it says something like this:

"Error in the start-file. The JAR-resources in the JNLP file has not been signed by the same certificate"

Does anyone know where I've failed?

I think I solved that. It was the lwjgl that was signed by a different certificate. I simply unpacked it, packed it, and signed it with my own certificate.

Now I have another problem: Webstart lets me decide wether to trust the application. I click yes, then nothing happens. No error message or anything. Same as when I try to run my executable jar.

I'm guessing it has something to do with the dlls. This is how i have done:

I have a jar file fpb.jar that contains my application, jme and a manifest that points to the main class. Next to it lies lwjgl.jar and lib.jar that contains everything in the lib folder (the dlls). My jnlp file looks like this:

<?xml version="1.0" encoding="utf-8"?>

<!-- fpb–>







<vendor>Four Eyes</vendor>

<homepage href="http://www.lundstedt.biz"/>


<description kind="short">FPB</description>

<icon href="icon.gif"/>

<icon kind="splash" href="splash.gif"/>







<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>

<jar href="fpb.jar" main="true"/>

<jar href="lwjgl.jar"/>


<resources os="Windows">

<j2se href="http://java.sun.com/products/autodl/j2se" version="1.4+"/>

<nativelib href="lib.jar"/>




Happy new year

I have now succesfully loaded my first webstart jme app. I looked at one of the demos's jnlp file and copied this line into my own jnlp file.

<extension name="jme" href="http://www.jmonkeyengine.com/webstart/jme.jnlp" />

This way I don't need to include anything but my own code.

There are alot of things in that package that I don't use which slows down the loading process. This is acceptable however, but it would be nice to distribute only the necessary packages.

Also, I remember having a much higher fps just yesterday. I think it's related to a recent download of the nightly build. Does anyone recognize this phenomena or am I just imagining things?

I don't think there were changes in the nightly builds that could have slowed down things. But I'm wondering how your webstart apps could work if you use the nightly builds while starting them with the latest release from the /webstart directory :?

I'm not using the nightly build with the webstart app.

I downloaded the nightly build and ran it locally. Or did I?, I don't remember anymore. Anyway, another thing I noticed, besides the fps-drop, was that there was a mesh count in the stats. I changed back to the build I used before and the problem disappeared. Only to return the next day but without the mesh count in the stats.

The fps-problem occured on the webstart version of my app to, I should have known that It wasn't a problem with jME from there but I thought that perhaps the http://www.jmonkeyengine.com/webstart/jme.jnlp was updated in the same rate as the nightly build.

Strangely the fps are back up to its normal speeds again after I on a desperete whim increased the virtual memory. I was quite surpriced though. But I also cleared the webstart cache so this could be the reason to.