java get absolute path of current program code example
Example: get absolute path from relative java
String absolutePath = FileSystems.getDefault()
.getPath(mayBeRelativePath)
.normalize()
.toAbsolutePath()
.toString();
String absolutePath = FileSystems.getDefault()
.getPath(mayBeRelativePath)
.normalize()
.toAbsolutePath()
.toString();