![]() |
| ||
| Cannot Find File Exception Okay im working on this game and all the code was in JSE 1.2 i just updated to that new package with the NetBeans IDE 5.0 and wh atnot inside it which is very nifty actually problem is all of my code when put into project files wont find any files, i tried moving the file folders into the class compiled folder, and the dist folders so that they would be in the same folder still i get this java.io.FileNotFoundException: ..\log\server.log (The system cannot find the path specified) the code referenced is this // Cycle error log save could anyone please give me a little help with this i am not familiar with Java and i am trying to learn this as i go its a new language for me and i really could use help you can email me or reply here at <<email snipped>> |
| ||
| Re: Cannot Find File Exception 1. don't ask for emails. 2. use code tags for code FileWriter why are you changing using rename on a file you are writing, what is this code's purpose? |
| ||
| Re: Cannot Find File Exception its just suposed to update my log file every so often on my server |
| ||
| Re: Cannot Find File Exception when one file exist it saves it with server.log1-2-3-4-ect so there are not massive big files |
| ||
| Re: Cannot Find File Exception I would suggest to look at this class: Logger And search tutorials or examples, since you are interesting in log files |
| All times are GMT -4. The time now is 6:41 am. |
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC