File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Installing Library Source Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Installing Library Source" Watch "Installing Library Source" New topic
Author

Installing Library Source

Jyotsna Ravikumar
Greenhorn

Joined: Sep 27, 2007
Posts: 1
Installed Jdk1.6 set path and executed the command jar xvf ../src.zip

BOOM! i got this error!

D:\src>jar xvf ../src.zip
java.io.FileNotFoundException: ..\src.zip (The system cannot find the file speci
fied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:106)
at java.io.FileInputStream.<init>(FileInputStream.java:66)
at sun.tools.jar.Main.run(Main.java:238)
at sun.tools.jar.Main.main(Main.java:1149)

what does it mean ?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60041
    
  65

Why the ../ prefix? That's the path for the parent folder.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19538
    
  16

In Windows you must use \, not /.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36453
    
  15
Welcome to the Ranch
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Installing Library Source
 
Similar Threads
Difficulty in adding own manifest file
How to create an executable in java
Getting java.io.FileNotFoundException while using jar
error while using jar -tvf file.war
jar files in vista business