• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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.

 
author & internet detective
Sheriff
Posts: 37820
582
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bachir,
Do you get an exception printed out?
 
I am Arthur, King of the Britons. And this is a tiny ad:
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!