I am fresh about intellij idea. I just import several projects from eclipse
, and it's modules in intellij idea.
I run one main in one module and get file can not found
exception. I check the user.dir
parameter and find it direct to another module(that module is the first module when I import eclipse projects).
System.out.println(System.getProperty("user.dir"));
I just want set the user.dir to that module directory when I run the main in one module. How to set it?