It's not a secret anymore!
The moose likes JNLP and Web Start and the fly likes problem in running the application through java web start Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "problem in running the application through java web start " Watch "problem in running the application through java web start " New topic

problem in running the application through java web start

seema pal
Ranch Hand

Joined: Nov 17, 2005
Posts: 39
hai to all
we are trying to running the application of reload editor through java web start for this we make the jnlp file and signed the all jars
but there is problem that is only java application window open and icons and menu bars are not work properly so please tell the solution for this.
you tell that you check in log or java web start manager so please tell me where is log file situtated for this what we do for this problem.

this is the jnlp file which we made for this purpose-------------

?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for SwingSet2 Demo Application -->
<!-- codebase="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor"
<icon href="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor/reload-editor.gif"/>-->
href = "EditorFrame.jnlp" >
codebase = "" href = "EditorFrame.jnlp" -->
<homepage href=""/>
<description kind="short">A demo of the capabilities
of the ReloadEditor Graphical User Interface.</description>
<icon href="./reload-editor.gif"/>

<j2se version="1.4+"/>

<!--<jar href="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor/reload-editor.jar" /> -->
<jar href="./reload-editor.jar" />
<jar href="./lax.jar" />
<jar href="./lib/jdom.jar" />
<jar href="./lib/reload-diva.jar" />
<jar href="./lib/reload-dweezil.jar" />
<jar href="./lib/reload-jdom.jar" />
<jar href="./lib/reload-moonunit.jar" />
<jar href="./lib/reload-support.jar" />
<jar href="./lib/xercesImpl.jar" />
<jar href="./lib/xml-apis.jar" />
<jar href="./lib/AppleJavaExtensions.jar"/>
<application-desc main-class=""/>
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
I guess that a way how you load graphical resources doesn't work under webstart. Give samples of your Java code where you getting icons.

Tough in space?, <a href="" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="" target="_blank" rel="nofollow">Check it here.</a><br /><a href="" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Bing Shiao

Joined: Mar 16, 2005
Posts: 15
you need to pack all graphic resources, eg. *.gif into jar file, eg. reload-editor.jar.
I agree. Here's the link:
subject: problem in running the application through java web start
It's not a secret anymore!