• Java
    October 18, 2018

How to Develop Modules with Eclipse IDE

The Java Platform Module System (JPMS) main goal is to make it easier to construct and maintain Java libraries and large applications. You will also experience improved application performance by scaling down the Java SE platform and JDK.

In a series of five tutorials, Deepak Vohra explains how to use the module system in your applications. He walks you through setting up your environment, creating classes within modules, configuring VM Args for your module path and running your application.

Your application will be portable when you use a module as a JAR file. Deepak explains how to create and export a Java project as a JAR file using Eclipse IDE. The tutorial is a step-by-step guide from setting up your environment to running your application.

With the JPMS, you still need to manage your application dependencies, including third-party application dependencies. The last two tutorials detail how to create a module which depends on another module’s dependencies. To use multiple modules, you need to create multiple Java projects in Eclipse because Eclipse does not allow creating multiple modules in one project. The last article describes how to configure the two Java projects and run the main module application to demonstrate module dependency.

Links to the 5 articles: 

Developing a Module with Java 9 in Eclipse IDE, Part 1
Developing a Module with Java 9 in Eclipse IDE, Part 2
Using a Java 9 Module as a JAR File
Using Module Dependencies, Part 1
Using Module Dependencies, Part 2

Be the first to comment

Comments ( 0 )
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.