File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JNLP and Web Start and the fly likes The system cannot find the path specified Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark " The system cannot find the path specified" Watch " The system cannot find the path specified" New topic
Author The system cannot find the path specified

Suman Mummaneni
Ranch Hand

Joined: Dec 14, 2004
Posts: 89

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

Suman Mummaneni
Maryam Nouhnejad
Ranch Hand

Joined: Oct 04, 2006
Posts: 39
Hey Suman,
Could you solve your problem??
rais patel

Joined: Nov 26, 2007
Posts: 1
java -jar progname.jar
(or on windows, you might prefer 'javaw -jar progname.jar')

or possibly
jre -cp progname.jar
I agree. Here's the link:
subject: The system cannot find the path specified
It's not a secret anymore!