Java package does not exist
Answered
I'm new to java and am trying to import libraries (javafx). When I run my code, I have the following error: Error:(3, 26) java: package javafx.application does not exist. I don't understand why I have this as it worked before. Thanks for any help :)
Please sign in to leave a comment.
JavaFX was removed from the JDK in Java 11. You now have to add it to your project as a library/dependency. Check out the Getting Started with JavaFX guide
where is the setting for that in intellij?
Hello,
Please check "JavaFX and IntelliJ" part of documentation.