Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
    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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

problem in running the application through applet  RSS feed

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • 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: 42975
76
  • Mark post as helpful
  • send pies
  • 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 ]
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!