@@ -392,11 +392,11 @@ this.fs = fs; this.jrtModules = new LinkedHashSet<>(); this.pkgDirs = new HashMap<>(); // fill in module directories at the root dir - Path root = fs.getPath("/"); + Path root = fs.getPath("/modules"); try { try (DirectoryStream<Path> stream = Files.newDirectoryStream(root)) { for (Path entry: stream) { if (Files.isDirectory(entry)) jrtModules.add(entry);