I wish to try out scalafx targeting javafx 8 using scala 2.11.x on the latest version of Intellij. I have downloaded the most recent version of scalafx (scalafx_2.11-8.0.40-R8). To use JavaFx 8 I need JDK 8 however scala 2.11.x says the following:
Required Java Version The Scala 2.11.x series targets Java 6, with (evolving) experimental support for Java 8. In 2.11.x, Java 8 support is mostly limited to reading Java 8 bytecode and parsing Java 8 source. Stay tuned for more complete (experimental) Java 8 support. The next major release, 2.12, will most likely target Java 8 by default.
Question: How do I configure this? Can I just use Java 8 and scalafx in an Intellij scala project? Thanks.