

NetBeans IDE greatly extends capabilities of the commandline tool. NetBeans can support the tool with the user project configuration, so the Java Shell is set up to work with project classes and libraries. NetBeans provides integrated console-like UI for the Java Shell, leveraing NetBeans editor capabilites. Java Shell is a tool in JDK9 defined in JEP 222 to introduce REPL (read-eval-print-loop) capabilities to Java. HTML5 tags are supported in NetBeans editor and HTML5 JavaDoc can be generated using projects Properties | Documenting customizer. Advantage of this project over several Java SE project each containing 1 module is that dependencies are simply managed by declaring appropriate exports and requires in module-info.java files and all modules in the project are being compiled at once.įollowing picture depicts how Java Modular Project can look like.Įvery JavaSE (with module-info.java) or Java Modular App project can be packaged into JLink image allowing seamless distribution of app and required modules. This allows to develop several JDK9 modules in one NetBeans project (Ant based). New project called Java Modular project was added. The picture below shows the structure of JavaSE projects with JUnit tests in same module and with own module: java requires application module and JUnit. In this case main module-info.java exports the tested packages and tests module-info. in its own JUnit JDK9 module (own module-info.java).In this case no changes to develop and execute tests are needed in main module-info.java Java SE Project allows to develop and store JUnit tests: It is possible to show module dependencies graph for each module-info.java. The mix of projects with module-info.java or without it is allowed. This picture shows dependency of 1 project on 2 other projects. Java SE projects with JDK9 module can define dependencies on themselves using Project Libraries customizer dialog and by defining appropriate exports and requires in their module-info.java files.
#Clear netbeans cache in 9.0 code#
Module-info.java supports code completion.įull Edit - Compile - Debug and Profile cycle is supported. Standard NetBeans Java SE Project (Ant) can be a single JDK9 module simply by adding module-info.java into default package.

Modulepath was added as a crucial paradigm to NetBeans in addition to Classpath. NetBeans 9 provides features to support JPMS (Jigsaw). JDK 9 – Java Platform Module System Support Java Application project extensions Hints and refactorings for transforming to/from the new "var" type:
