-I tried this for hours and failed.
i tried to create multiple directories in linux in JAVA.
Yes you got me right, when one creates multiple directories using back slashes, you get multiple directories in the same location. i can not give a clear reason for this but i do have an answer.
Simply use a forward slash instead