This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Rust Web Development and have Bastian Gruber on-line!
See this thread for details.
Win a copy of Rust Web Development this week in the Other Languages forum!
  • Post Reply 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

java.util.zip.ZipException: The system cannot find the path specified

 
Ranch Hand
Posts: 99
Android Mac Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello guy,
I am getting a strange exception when I try to deploy my application using
Java Web Start.
Here is the story...
The application is a client console, which is a Java Swing application. It connects to a server. The server uses a plug-in model, these plug-in can be deployed or removed using the client. After deploying these plug-in can be edited to modify the plug-in properties. Which is more like a Eclipe like of frame work.

Here is the problem....
Now when I run this application as standard Java app it works fine. But when I start it as a web app the plug-in that are deployed at run time or plug-in that were deployed earlier could not be edited. I found out the problem is with the class loading, as JWS does not look for the Manifest file to load classes. So I modified the I am using a custom class loader that obtains the Jar file and loads the Jar file in the classpath recursively so all the dependent Jar files are loaded. But when I run the Java web start using JRE 1.5.0_12 I am getting a zip exception which is given below


The code block that does this job is here


***************************************************************************
Here is the most strange thing
****************************************************************************
When I run the same code using JRE 1.6.0_2 then I get a FileNotFound Exception..
.....
Help me guys .......... I am stuck in this

 
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hey Suman,
Could you solve your problem??
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
java -jar progname.jar
(or on windows, you might prefer 'javaw -jar progname.jar')

or possibly
jre -cp progname.jar
 
reply
    Bookmark Topic Watch Topic
  • New Topic