A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Java
»
JNLP and Web Start
Author
java web start application unable to launch
vaibhav mishra
Ranch Hand
Joined: Jun 18, 2008
Posts: 168
posted
Aug 06, 2008 18:58:00
0
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
java
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
SCJP
Paul Clapham
Bartender
Joined: Oct 14, 2005
Posts: 16483
2
I like...
posted
Aug 06, 2008 22:39:00
0
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:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: java web start application unable to launch
Similar Threads
security exception thrown will running application
Java Web Start
Doesn't work properly of my JNLP webstart
Web start run the Jar but doesn't work No action Happened ?
Web start problem
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter