This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hello, i have written a small program that extracts zipfiles. but somehow this only works with some zipfiles. somtimes i am getting a filenotfoundexception at the commented line?! why that? here is the code:
I tried to check your code, but I did not find any problem with it.
When does it throw the FileNotFoundException? Which paramters did you enter? What is the value of the p parameter? Is it possible that some other process is locking the file indicated by p while your unzip program tries to open it?
Joined: May 10, 2004
hi, i rewrote the program and now it works....thanks