JDK 10 and JavaFX

Answered

Maven project with JavaFX does not seem to compile in InteliJ, however mvn compile works. The target in maven is 1.8, JDK for the project is JDK10 and JRE in Running config is JRE10. (everything 10.0.2 version). All classes which are missing are present in JDK10. Do you have some hint how to fix this?

IntelliJ IDEA 2018.2 (Ultimate Edition)
Build #IU-182.3684.101, built on July 24, 2018
JRE: 1.8.0_152-release-1248-b8 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Maven 3.5.4

 The "missing" classes are not underlined in the code, so in the IDE seems to be everything ok... except for compiling.

0
1 comment

Check the related thread: https://intellij-support.jetbrains.com/hc/en-us/community/posts/360000430279-Can-t-access-resource-with-Java-10 .

What language levels are used in IntelliJ IDEA? See http://stackoverflow.com/a/12900859/104891.

Do you have module-info.java present in the project?

0

Please sign in to leave a comment.