Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.24 KB

File metadata and controls

30 lines (24 loc) · 1.24 KB

java9modules-demo

A simple boilerplate project that combines Java 9 modules, gradle, IntelliJ settings and unit tests

How to run

  • Install JDK 9 and gradle
  • Clone this project, run gradle idea, open project in IntelliJ
    • Note: "calling gradle idea and using IDEA's importer are mutually exclusive" - if you run gradle idea, then don't use IntelliJ gradle importer
  • Take a look at the file structure: tree .
  • gradle clean build run
  • gradle clean build test

Notes

alias j9="export JAVA_HOME=`/usr/libexec/java_home -v 9`; java -version"
alias j8="export JAVA_HOME=`/usr/libexec/java_home -v 1.8`; java -version"