I am familiar with the idea of intellij. I just import some projects from eclipse , and these are modules in the intellij idea.
I run one main part in one module and get a file can not found exception. I check the user.dir parameter and find it direct for another module (this module is the first module when importing eclipse projects).
System.out.println(System.getProperty("user.dir"));
I just want to install user.dir in this module directory when I run the main one in one module. How to install it?
source share