Where can I download the JavaFX 2.2 source code? [closed]

橙三吉。 提交于 2019-11-26 07:41:22

问题


I need to link in Netbeans 7.2.1 to the source of JavaFX 2.2.3, I\'ve looked on the Oracle web site ... but I didn\'t find it ! any help is a welcome plz


回答1:


JavaFX 2.2 is only partially open source.
You can download the parts which are open from the zip link at:

http://hg.openjdk.java.net/openjfx/2.2/master/rt

JavaFX 8

JavaFX 8 is completely open source today.

Source for building JavaFX 8 (and the SceneBuilder design tool) is available at:

http://hg.openjdk.java.net/openjfx/8/master/rt

Source code for later versions (including Java 8 updates), is in the source code forest, an overview of which is at:

http://hg.openjdk.java.net/openjfx

  • Instructions for building JavaFX 8 with OpenJDK 8

If you don't need to build JavaFX 8 and just want the runtime sources in a zip, those are in the javafx-src.zip file from the JDK 8 download.

On OS X, the javafx-src.zip file is located at:

/Library/Java/JavaVirtualMachines/jdk1.8.0.jdk/Contents/Home/javafx-src.zip

IDE Setup

Instructions for configuring Idea to understand the source are here:

JavaFX source code not showing

For NetBeans, you could try:

How to attach missing java JDK sources in Netbeans 7




回答2:


believe me if you already have installed latest version of jdk and set jdk version in netbeans then it will not ask.

in my case i found jar files in folder C:\Program Files\Java\jdk1.7.0_07\jre\lib just add all jar file in your project and you have done.



来源:https://stackoverflow.com/questions/13553375/where-can-i-download-the-javafx-2-2-source-code

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