I recently started learning JavaFX.
At the moment I can't build any JavaFX project with Java class in Eclipse. For every input I get error "package does not exist" Path to JRE is set in project's properties.
Same class compiles if it is Java-project (not JavaFx).
What should I check in project settings or Eclipse prefferences?