This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one 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 The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript 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: 61089
    
  66

"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()