File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JNLP and Web Start
java web start application unable to launch
Joined: Jun 18, 2008
Aug 06, 2008 18:58:00
following is my jnlp file
<?xml version="1.0" encoding="utf-8"?> <!-- JNLP File for geek jokes --> <jnlp spec="1.0+" codebase="http://localhost/webstart/" href="http://localhost/javasoft/geekjokes.jnlp"> <information> <title>Geek Jokes</title> <vendor>Vaibhav Mishra</vendor> <description>Geeky jokes</description> <homepage href="http://scjpbeginner.blogspot.com"/> <description kind="short">shows random jokes</description> <offline-allowed/> </information> <resources> <jar href="GeekJokes0.1.jar"/> <j2se version="1.6+" href="http://java.sun.com/products/autodl/j2se"/> </resources> <icon href="geekjokes.gif"/> <icon kind="splash" href = "geekjokes.gif"/> <offline-allowed/> <security> <all-permissions/> </security> <application-desc main-class="GeekJokes"/> </jnlp>
and I stored it in folder javasoft/webstart folder in my localhost's root web directory which is in my case c:/wamp/www
I put geekjokes.gif ,GeekJokes0.1.jar and geekjokes.jnlp file in javasoft/webstart directory of c:/wamp/www/
now when I access application through webpage then it shows
splash and the a dialogbox saying unable to launch the application
I have entered mime-types in my apache mime-types file but I am not sure I done that right
can you spot where am I faltered
I want to mention that same application's jar file is working smoothly on my desktop,
it is swing app just showing a dialog box
Joined: Oct 14, 2005
Aug 06, 2008 22:39:00
and I stored it in folder javasoft/webstart folder
But that isn't where your "href" attribute points to.
I agree. Here's the link:
subject: java web start application unable to launch
Java Web Start
Web start run the Jar but doesn't work No action Happened ?
Doesn't work properly of my JNLP webstart
Web start problem
security exception thrown will running application
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014