Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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: 60785
    
  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: 19654
    
  18

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: 38033
    
  22
Welcome to the Ranch
 
 
subject: Installing Library Source
 
Similar Threads
How to create an executable in java
Getting java.io.FileNotFoundException while using jar
Difficulty in adding own manifest file
jar files in vista business
error while using jar -tvf file.war