Top "Java-9" questions

Use this tag for questions specific to Java 9, which is version 9 of the Java platform, released on the 21st of September 2017.

Unnamed module interaction with named module by ServiceLoader::load

I have a project like this: \---main \---src \---com.foo \---UnnamedStart.java \---api \---src \---com.foo.api \---ApiInterface.java \---module-info.…

java java-9 java-module module-info
java 9 module reads package X from A and B

I am trying to use spring boot with java 9 and gradle. I am unable to run my simple code, I …

spring spring-boot gradle java-9 java-module
How do I run images generated by JDK 9 jlink?

I follow the Jigsaw quickstart here. I successfully ran the jlink command given: jlink --module-path $JAVA_HOME/jmods:mlib --add-modules …

java java-9 java-platform-module-system jlink
JCE zip file for JDK 9

I want to try JDK 9 and I need JCE patched. Where can I get JCE zip file for JDK 9? Or …

java java-8 jce java-9
Is it possible to use dependencies without module-info.class in a Java 9 module

I created two small projects de.app1 and de.app2, where App from de.app1 uses Test from de.app2. ├── …

java java-9 java-platform-module-system
Where to place module-info.java using Java 9?

I have an OSGI application and I have around 30 bundles (jar files). Today I decided to see how it works/…

java osgi apache-felix java-9 java-platform-module-system
Replacing finalize() in Java

Object.finalize() is deprecated in Java 9, and I think I understand the reasons why, but I'm having trouble seeing how …

java garbage-collection java-9 finalizer
How to generate an executable of a modular Java app with javapackager?

Environment: Win10, Oracle JDK 9, Eclipse, jlink, javapackager Context: I'm trying to generate an executable file with javapackager having a java …

windows java-9 java-module javapackager
Java 9 automatic modules not found

I'm trying to define a Java 9 module. I have defined something like: module my.module.name { } Then many of my …

java maven intellij-idea java-9 module-path
New Keywords in Java 9

One of Java 9's largest features will be a module system defined by Project Jigsaw. When reading slides from the …

java syntax java-9 java-platform-module-system