jdk1.6 update 32 and JavaFX2.1 does work?

我与影子孤独终老i 提交于 2019-12-08 08:03:46

问题


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

回答1:


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.




回答2:


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!