Which java version supported for javafx script
I started doing javafx script reading. i have written a HelloWorld.fx file. which java version is supported for javafx. i am using jdk 5 now. After the compilation i am getting "Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file" this error. can any one help me on this.
This may be a smalll question.