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.

Java: How to resolve java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

I have some code that uses JAXB API classes which have been provided as a part of the JDK in …

java jaxb java-9 java-11 java-10
Failed to install android-sdk: "java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema"

When installing the android sdk tools the following error is emitted: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema Why …

java android java-9
Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory

The problem Whenever I run my projects JUnit test (using JUnit 5 with Java 9 and Eclipse Oxygen 1.a) I encounter the …

java eclipse junit java-9 junit5
Error occurred during initialization of boot layer FindException: Module not found

Executing a simple "Hello World" program using Java 9 results in the following error message: Error occurred during initialization of boot …

java java-9 java-module
what is an illegal reflective access

There are a lot of questions around about illegal reflective access in Java 9. Now what I can't find because all …

java java-9 java-module java-platform-module-system
Failed to run sdkmanager --list with Java 9

I downloaded and installed: JDK (jdk-9.0.1_osx-x64_bin.dmg) from Oracle here Android SDK (sdk-tools-darwin-3859397.zip) from Google here. After …

java android android-sdk-tools java-9 android-sdk-manager
JDK9: An illegal reflective access operation has occurred. org.python.core.PySystemState

I'm trying to run DMelt programs (http://jwork.org/dmelt/) program using Java9 (JDK9), and it gives me errors such …

java java-9 java-module
Cannot be cast to class because they are in unnamed module of loader 'app'

I'm trying to create a bean from sources that were generated by wsdl2java. Every time I try to run …

java spring-boot java-9 java-module
Replacements for deprecated JPMS modules with Java EE APIs

Java 9 deprecated six modules that contain Java EE APIs and they are going to be removed soon: java.activation with …

java jakarta-ee java-9 java-module
How to hide warning "Illegal reflective access" in java 9 without JVM argument?

I just tried to run my server with Java 9 and got next warning: WARNING: An illegal reflective access operation has …

java jvm netty java-9