• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in running the application through java web start

 
seema pal
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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"/>-->
<jnlp
codebase="file:///home/guest/tdk-2.3_01/webapps/brihaspati2/ReloadTools/Editor"
href = "EditorFrame.jnlp" >
<!--jnlp
codebase = "http://172.28.44.20:8080/EditorFrame" href = "EditorFrame.jnlp" -->
<information>
<title>ReloadEditor</title>
<vendor>ReloadTools</vendor>
<homepage href="http://www.reload.ac.uk/editor.html"/>
<description>ReloadEditor</description>
<description kind="short">A demo of the capabilities
of the ReloadEditor Graphical User Interface.</description>
<icon href="./reload-editor.gif"/>
<offline-allowed/>
<security>
<all-permissions/>
</security>

</information>
<resources>
<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"/>
</resources>
<application-desc main-class="uk.ac.reload.editor.EditorFrame"/>
</jnlp>
~
 
dema rogatkin
Ranch Hand
Posts: 294
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Bing Shiao
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you need to pack all graphic resources, eg. *.gif into jar file, eg. reload-editor.jar.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic