Disclaimer: I already opened a similar question on Stackoverflow but I believe the number of Scala/sbt users is limited there.
Is there a way to tell SBT to use a different JDK than the one it detects automatically?
I am working on Windows 10 and have an installed JDK 11 for daily use. But I want to use JDK 8 (ZuluFX 8) to compile build my Scala application with sbt.
I was pointed to something called
sbt-extras but to me, this looks like a bash script that won’t work on Windows.
Anyone here who could help me? Or should I just go for Gradle and ignore Scala’s own build system?