i am trying to create a embedded browser using the JavaFX2.1 by using jdk1.6 update 32 however it looks like that all the programs are not working because of jdk1.6u32. but at the requirement its clearly mention that JavaFx2.1 will work with the jdk1.6update 32.
Does anybody knows what is the reason?
I am right now trying to run the sample programs which comes with javaFx2.1 and the below one
http://docs.oracle.com/javafx/2/swing/SimpleSwingBrowser.java.htm
while executing the above program with jkd1.6u32 and jdk1.7u4 program compiles and executes but doesn't display any page. I saw the below error on the console:
Device "Mobile Intel(R) 4 Series Express Chipset Family" (\\.\DISPLAY1) initialization failed :
WARNING: bad driver version detected, device disabled. Please update your driver to at least version 6.14.10.5303
Its better you install the 1.7 update 4 version of java because in that the java fx 2.1 is bundled with may be that works for you.
i figured it out it was a problem with version mismatch between my java compiler and java runtime env.
来源:https://stackoverflow.com/questions/10612591/jdk1-6-update-32-and-javafx2-1-does-work