Skip to content

Commit

Permalink
Document scala java compatibility (confluentinc#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
guozhangwang authored Sep 25, 2018
1 parent 935284f commit 7361d88
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,9 @@ Also, each example states its exact requirements at the very top.
<a name="requirements-java"/>
## Java 8
## Java 8+
Some code examples require Java 8, primarily because of the usage of
Some code examples require Java 8+, primarily because of the usage of
[lambda expressions](https://docs.oracle.com/javase/tutorial/java/javaOO/lambdaexpressions.html).
IntelliJ IDEA users:
Expand All @@ -211,6 +211,8 @@ IntelliJ IDEA users:
If you want to experiment with the Scala examples in this repository, you need a version of Scala that supports Java 8
and SAM / Java lambda (e.g. Scala 2.11 with `-Xexperimental` compiler flag, or 2.12).
If you are compiling with Java 9+, you'll need to have Scala version 2.12+ to be compatible with the Java version.
<a name="packaging-and-running"/>
Expand Down

0 comments on commit 7361d88

Please sign in to comment.