Skip to content

comdotlinux/Java-9-Discovery

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Java-9-Discovery

Java 9 Meetup

To run this program, you need to (of course install Java 9 and setup you PATH properly)

  1. Change to the directory where this README.md is.
  2. cd jpms
  3. 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
  4. java --module-path simple --module simple/com.linux.simple.SimpleUiApp --
  5. 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)

https://github.com/gurukulkarni/Java-9-Discovery/blob/02-jpms-fixed/jpms/simple/com/linux/simple/SimpleUiApp.java

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.

About

Java 9 Meetup

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages