I am trying to locate the path of the current running/debugged project programmatically in Java, I looked in Google and what I found was System.getProperty(\"user.id\"
System.getProperty(\"user.id\"
I've just used this :
System.out.println(System.getenv().get("PWD"));
Using OpenJDK 11