

STS has included a JDK9 compatibility warning for projects using Spring Boot 1.5.x or earlier that have a build plugin not compatible with Java 9. You are expected to use a new Eclipse build for the development. Also, developers who have the JDT JUnit runtime bundles (.runtime, 4.runtime) checked out and pull the latest changes will run into the above issue. The documentation also notes: We do not support running tests in a setup where an old Eclipse build (not having JUnit 5 support) is using a new Eclipse build (having JUnit 5 support) as target. The developer should either change the test runner to JUnit 5 or delete them so that new launch configurations are created with JUnit 5 test runner while running the tests.


However, Java runtime 9 must be in build path to compile a modular project.Īn existing non-modular project can be converted to a modular project by creating a module-info.java for the project.Ī library or a container can be added to the module path instead of classpath. The Eclipse documentation states that it is not mandatory to run Eclipse with a Java 9 runtime to get the Java 9 support. The IDE has added features to support Java Modules including compiler updates and search features. The Eclipse compiler for Java implements all the new Java 9 language enhancements. With this release, STS has been updated to Eclipse Oxygen.1a, which includes support for JDK 9 and JUnit 5 out of the box. Pivotal recently released version 3.9.1 of its Spring Tool Suite (STS), the Eclipse-based IDE for developing applications in Spring Framework.
