This week's book giveaway is in the General Computing forum.
We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Installing Library Source Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Reply 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: 56538
    
  14

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


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19232

In Windows you must use \, not /.


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

Joined: Oct 13, 2005
Posts: 32833
    
    4
Welcome to the Ranch
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Installing Library Source
 
Similar Threads
error while using jar -tvf file.war
How to create an executable in java
Difficulty in adding own manifest file
Getting java.io.FileNotFoundException while using jar
jar files in vista business