Skip to content

d-sauer/ExploringJava9

Repository files navigation

Java 10 & 9 experiments

Compiling modules

Compile sources:

link:compile.sh[role=include]

Execute:

link:execute.sh[role=include]

Create JARs

$ jar --create --file ./target/jars/com-hello-world-mars.jar -C target/classes/com.hello.world.mars .
$ jar --create --file ./target/jars/com-hello-world.jar --main-class com.hello.world.Main -C target/classes/com.hello.world .

Execute:

$ java --module-path target/jars/ --module com.hello.world

JMod

  • print module dependenceis

TODO

  • jshell: connect to existing process for debug and explorations

  • jshell: devoxx — how to create on the fly http client

  • http2

  • modules

  • module layers

  • jlink - create custom JDK

  • services

Resources

About

Exploring Java9

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published