After I use exe4j packaging, user.dir is no longer the original result

53 Views Asked by At

After I use exe4j packaging, user.dir is no longer the original result. Please ask how to solve this problem, that is, how to get the path where the current working path. enter image description here

1

There are 1 best solutions below

0
On

Om the "Executable info" step of the wizard, deselect the "Change working directory to" check box in order to keep the current directory as the working directory.