databricks / spark-corenlp

Stanford CoreNLP wrapper for Apache Spark
GNU General Public License v3.0
422 stars 120 forks source link

Java 8 Requirement #3

Closed jerrylam closed 8 years ago

jerrylam commented 8 years ago

Hi there, I just wonder why this package requires Java 8? Is it a hard requirement because it uses Java 8 features? Thanks!

feynmanliang commented 8 years ago

Java 8 is a transitive dependency through the CoreNLP >= 3.5.2 dependency. From Stanford NLP's website:

Current versions of our software from October 2014 forward require Java 8+.

mengxr commented 8 years ago

Added a check in build.sbt to make the error message clear.