Component details - using IntelliJ IDEA 2017.1 CE and jdk-9-ea + 154
main () -
Set<String> set2 = Set.of("a", "b", "c"); set2.forEach(System.out::println);
module-info.java
module collection { requires java.base; }
Magazines -
Error occurred during initialization of VM java.lang.RuntimeException: Package jdk.internal.jimage.decompressor in both module jrt.fs and module java.base at jdk.internal.module.ModuleBootstrap.fail( java.base@9-ea /ModuleBootstrap.java:699) at jdk.internal.module.ModuleBootstrap.boot( java.base@9-ea /ModuleBootstrap.java:329) at java.lang.System.initPhase2( java.base@9-ea /System.java:1928)
I doubt the implementation of VM initialization, my question is that I did not include the jrt.fs module - where does it come from in the picture? How to debug inclusion / exclusion of such modules? How can I resolve the current exception more?
Naman source share