Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
README.md
module-info.class

README.md

Java6+Jar to Java 9 Module Jar

Update Jar to module

Download module-info.class(295 bytes)

$ jar --update --file iBoxDBv28.jar --module-version 2.8  module-info.class

Build a JRE, set launcher = newmodule/app.NewClass.Main()

$jlink --module-path /home/user/jdk-9/jmods:/home/user/Downloads/iBoxDBv21600_27/JavaDB/iBoxDBv27.jar:. --add-modules java.base,iBoxDB,newmodule --launcher run=newmodule/app.NewClass   --output ujre

List the modules

$./ujre/bin/java --list-modules

Execute the App

$./ujre/bin/run

the App module

module-info.java
module newmodule {
    requires iBoxDB;
    exports app;
}

Show Java Class

$javap module-info.class