Is JavaFX open source? [closed]

2020-03-15 05:17发布

When install JDK I found src.zip in C:\Program Files\Java\jdk1.7.xxx folder, but I can not find the javafx source code, I googled but found nothing (on http://openjdk.java.net/projects/openjfx/) So, is javafx open source, and where can I get?

2条回答
干净又极端
2楼-- · 2020-03-15 05:59

Update Dec 2019

For current information on Open Source JavaFX, visit https://openjfx.io.

The current open source code repository for JavaFX is at https://github.com/openjdk/jfx.

At the source location linked you can find license files for open JavaFX (currently this license matches the license for open JDK).

Previous Answer

As of February 2013, JavaFX is partially open source and should become almost fully open source over the next few months. The source is hosted as part of the open-jfx project that you linked in your question.

The manifest of the tip of the JavaFX development branch for Java 8 is: http://hg.openjdk.java.net/openjfx/8/master/rt/file/tip

The same page has a zip link, which allows you to easily download the available JavaFX source as a zip file.

The JavaFX source code is not included in the jdk src.zip file currently, but should be eventually before Java 8 is released.

Update

A February 2013 update for JavaFX OpenSource status has been published by the JavaFX development lead.

查看更多
家丑人穷心不美
3楼-- · 2020-03-15 06:12

In short, it is not open source in that it is free to change & distribute for any purpose. JavaFX is licensed for internal use, excluding what they call commercial features.

Use of the Commercial Features for any commercial or production purpose requires a separate license from Oracle.

The license details for JavaFX are outlined in full here. (PDF version available from here)

You can get JavaFX from here.

查看更多
登录 后发表回答