This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
Here is the simple problem but I don't have solution to it.
I have a small application which should be run using Java Web Start. I'm using Tomcat4. I copied .jnlp, .jar(application jar file) in tomcat's webapps/ROOT folder. When I invoke .jnlp file, I'm getting the following message in General tab of 'Java Web Start - Download Error' window.
----------------------- An error occurred while launching/running the application.
The application has requested a version of the Java 2 platform (JRE) that is currently not locally installed. Java Web Start was unable to automatically download and install the requested version. The JRE version must be installed manually.
I'm not sure if this will work, but check in your jnlp file, look at tag <j2se version=, the value of the version attribute could be 1.5+ or something similar which may be higher than your current jre version.So you may change it to 1.3+ or 1.4+ depending on your jre version. Also, check the jnlp tag
You can change the value of spec attribute to "1.0+"
Actually I signed the javawebstartapplication.jar two times (as I don't know) with two different keystore names. Now I changed the jar file's to javawebstartapplication1.jar and again signed it as if a newer one (at the same time changed the jar file in .JNLP file). Now, I'm getting the problem though I signed the newer one for only one time. Can you tell me how to unsign all the jar files? or any other solution?
I could able to resolve the above problem by myself.
My jar file is self-signed and verified. But I could not able to open the self-signed application in java web start. How can I open my application? Is it required to make other certifications for this? Really I'm disgusted in my trial to run java web start application.
igwe kalu kalu ogba
Joined: Feb 03, 2005
mmm, what kind of error does it come up with? Sometimes in java web start, the java web start application can hang at starting application. So you might try clicking on the jnlp link again and then see what happens.