Skip to content

Instantly share code, notes, and snippets.

@ssaurel
Created March 16, 2019 10:38
Show Gist options
  • Save ssaurel/4225bca0fc9eeb74228de8bc181ee9e0 to your computer and use it in GitHub Desktop.
Save ssaurel/4225bca0fc9eeb74228de8bc181ee9e0 to your computer and use it in GitHub Desktop.
Compilation Java 12 Switch on the SSaurel's Channel
$ javac -d classes --enable-preview --release 12 SwitchJava12.java
$ java -classpath classes --enable-preview SwitchJava12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment