This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Java in General and the fly likes Exception thrown while createNewFile() 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 » Java in General
Bookmark "Exception thrown while createNewFile()" Watch "Exception thrown while createNewFile()" New topic
Author

Exception thrown while createNewFile()

jaibhim max
Greenhorn

Joined: Nov 15, 2010
Posts: 21
Hi All,

I am using windows 7 and trying to create a file .testBoringFile on my mounted drive "U:".
I wrote following code.



.testBoringFile gets creates but an exception is thrown while executing"tempFile.createNewFile()".




I referred following link, but doesn't get any useful info. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4857780


Can anyone please help me out?


-akki
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

"jaibhim max", please check your private messages for an important administrative matter. Thanks.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception thrown while createNewFile()
 
Similar Threads
Runtime.getRuntime().exec(s) spaces in s are trimed
java.io.IOException: Too many open files
Getting Exception for Java through FTP.
How to close a file
Difference between Exceptions thrown by JVM and thrown Programatically