• Post Reply Bookmark Topic Watch Topic
  • New Topic

Trouble creating a directory using Files.createDirectory()  RSS feed

 
Bachir Affane
Greenhorn
Posts: 17
1
Java Linux MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi people, please can anyone tell me why this code doesn't create the folder "myDir". I'm on Ubuntu, I created the folder javaTests manually & specified "chmod -R 777 /home/bachir/javaTests" on the console.

 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37465
539
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bachir,
Do you get an exception printed out?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!