Make directories specified by -n option, and locate java souces to the directory: fixes #391