Dear folks,
I tried the jdk 9 EA jigsaw b83 with the quick start example as below. C:\>jlink --modulepath C:\projects\jdk1.9.0\jmods:mlib --addmods C:\src\com.greetings --output greetingsapp An exception has occurred in jlink. Please file a bug at the Java Bug Database (http://bugreport.java.com/bugreport/) after checking the database for duplicates. Include your program and the following diagnostic in your report. Thank you. java.nio.file.InvalidPathException: Illegal char <:> at index 26: C:\projects\jdk1.9.0\jmods:mlib at sun.nio.fs.WindowsPathParser.normalize(HYPERLINK "mailto:[email protected]/WindowsPathParser.java:182"[email protected]/WindowsPathParser.java:182) at sun.nio.fs.WindowsPathParser.parse(HYPERLINK "mailto:[email protected]/WindowsPathParser.java:153"[email protected]/WindowsPathParser.java:153) at sun.nio.fs.WindowsPathParser.parse(HYPERLINK "mailto:[email protected]/WindowsPathParser.java:77"[email protected]/WindowsPathParser.java:77) at sun.nio.fs.WindowsPath.parse(HYPERLINK "mailto:[email protected]/WindowsPath.java:94"[email protected]/WindowsPath.java:94) at sun.nio.fs.WindowsFileSystem.getPath(HYPERLINK "mailto:[email protected]/WindowsFileSystem.java:255"[email protected]/WindowsFileSystem.java:255) at java.nio.file.Paths.get(HYPERLINK "mailto:[email protected]/Paths.java:84"[email protected]/Paths.java:84) at jdk.tools.jlink.JlinkTask.lambda$static$1(HYPERLINK "mailto:[email protected]/JlinkTask.java:106"[email protected]/JlinkTask.java:106) at jdk.tools.jlink.TaskHelper$Option.process(HYPERLINK "mailto:[email protected]/TaskHelper.java:128"[email protected]/TaskHelper.java:128) at jdk.tools.jlink.TaskHelper$OptionsHelper.handleOptions(HYPERLINK "mailto:[email protected]/TaskHelper.java:520"[email protected]/TaskHelper.java:520) at jdk.tools.jlink.JlinkTask.run(HYPERLINK "mailto:[email protected]/JlinkTask.java:186"[email protected]/JlinkTask.java:186) at jdk.tools.jlink.Main.main(HYPERLINK "mailto:[email protected]/Main.java:33"[email protected]/Main.java:33) And without ":mlib" the module wasn't found as below. C:\mlib>jlink --modulepath C:\projects\jdk1.9.0\jmods --addmods com.greetings --output greetingsapp Error: Module com.greetings not found Any hints are welcome Thanks and kind regards Wolfgang
