- try {
- Path currentRelativePath = Paths.get("");
- String s = currentRelativePath.toAbsolutePath().toString();
- System.out.println("Test CWD is "+s);
- } catch (Exception q) {
- q.printStackTrace();
- }
+ try
+ {
+ Path currentRelativePath = Paths.get("");
+ String s = currentRelativePath.toAbsolutePath().toString();
+ System.out.println("Test CWD is " + s);
+ } catch (Exception q)
+ {
+ q.printStackTrace();
+ }