On Oracle's website it is mentioned that for the JavaFX API, JDK SE 7 is required as it comes with JDK 7 or higher.
I have already downloaded and installed JDK SE 7 but i'm having a problem.
When I write the following code
import javafx.*
class A {
public static void main(String[] args)
{
System.out.println("hi")
}
}
I'm getting a compiler error "package javafx does not exist" Also in my JDK folder I couldn't see the package "javafx" as it is the case with other packages like "java" or "javax" There's no issue with path(till bin) and classpath(till lib), I have set it correctly as I'm able to compile and run other programs, how can I sort this out?