Closed Vajra001 closed 1 year ago
I also see this if sbt is using Java 1.8 (JDK 8). The fix is to make sure sbt is using a newer JDK, such as JDK 17+.
@Vajra001 As @ezoerner said, you need a modern Java (JDK) version. The README and the book describe the installation process of JDK 17 which is the latest LTS version: https://github.com/miciek/grokkingfp-examples#installing-the-tools
However, the code will work with JDK 11 as well :)
Thanks Miciek Jim
On Sat, Feb 25, 2023 at 3:42 AM Michał Płachta @.***> wrote:
@Vajra001 https://github.com/Vajra001 As @ezoerner https://github.com/ezoerner said, you need a modern Java (JDK) version. The README and the book describe the installation process of JDK 17 which is the latest LTS version: https://github.com/miciek/grokkingfp-examples#installing-the-tools
However, the code will work with JDK 11 as well :)
— Reply to this email directly, view it on GitHub https://github.com/miciek/grokkingfp-examples/issues/139#issuecomment-1445062593, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6CEM5JMDMEJHV5WUOTRKQ3WZHV3VANCNFSM6AAAAAAVEXC2XM . You are receiving this because you were mentioned.Message ID: @.***>
I have java 1.8 get this error, when building with sbt: