Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Frank Carver
  • Henry Wong
  • Ron McLeod
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Himai Minh

problem in running the application through applet

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
sir
i m trying to run the application that is Reload editor through the jar the applet is open but there is some error because there is the problem that is when we running the locally then they pick up the anothere jar which is required for this that is in the lib which come with the reload editor but when we run throug the applet then they are not pickup that jar and the proccess is happen but not response the full process and the error occurred----

java.util.zip.ZipException: No such file or directory
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(Unknown Source)
at uk.ac.reload.diva.util.CopyTask.execute(CopyTask.java:141)
at uk.ac.reload.editor.EditorFrame$2.run(EditorFrame.java:304)
at uk.ac.reload.editor.EditorFrame.checkSupportFolder(EditorFrame.java:298)
at uk.ac.reload.editor.EditorFrame.<init>(EditorFrame.java:148)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
java.lang.ClassCastException
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source).
and one thing is that there is a class Editorframe which is extend with the JFrame ,and my code is by which we running this
the code is----------

<applet archive="reload.jar" code="uk.ac.reload.editor.EditorFrame.class" codebase=$codeBase >
</applet>
our application run through the reload.jar and this is call reload-support.jar this is placed in lib and making some directory.here our code the required directory is not made.
plz responce quickly.
 
Rancher
Posts: 43028
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
This seems to be a near-identical duplicate of this thread, where there is an answer already. I'll close this thread; please continue the discussion, and add any pertinent information, in the other one.
[ February 01, 2006: Message edited by: Ulf Dittmer ]
 
A feeble attempt to tell you about our stuff that makes us money
the value of filler advertising in 2021
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic