Java 9 Meetup
To run this program, you need to (of course install Java 9 and setup you PATH properly)
- Change to the directory where this README.md is.
- cd jpms
- javac simple/module-info.java simple/com/linux/simple/SimpleUiApp.java simple/com/linux/simple/generators/ContentsGenerator.java simple/com/linux/simple/generators/internal/DefaultContentsGenerator.java
- java --module-path simple --module simple/com.linux.simple.SimpleUiApp --
- You need to be aware that there should be directory named jmods containing file java.base.jmod (on My system it is : /usr/lib/jvm/java-9-oracle/jmods)
Possibly more commands to run could be found : (at least better syntax highlighting)
For more details see https://github.com/gurukulkarni/Java-9-Discovery/wiki
find . -type f -name "*.class" -exec rm -v {} + // linux (actually GNU) command to remove all .class files from the project. This is needed so that when you switch with class files remaining and the directory structure changes, git cannot remove the directories as it is not empty. And no too mention I am too lazy to figure out how to configure VS Code to sent proper command to force this.