Setting up sbt to use Java 7 for compilation?

后端 未结 5 1092
暗喜
暗喜 2020-11-27 04:14

I\'m getting compile errors when running the compile task as the sources reference new classes in java.nio.file package that only appeared in Java

5条回答
  •  鱼传尺愫
    2020-11-27 05:09

    If you use Linux or Mac, another possibility is to look at jenv, a command line Java manager.

    It allows you to choose per project which JDK to use.

提交回复
热议问题