JavaFX附带JDK 8? [英] JavaFX comes with JDK 8?

查看:695
本文介绍了JavaFX附带JDK 8?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有很多关于JavaFX的问题。

I have multiple questions regarding JavaFX.

JavaFX是否附带JDK 8? JavaFX是否还需要自己的运行时环境?

Does JavaFX come with JDK 8? Does JavaFX also require its own runtime environment?

我查看了我的计算机(我安装了JDK和JRE)但找不到JavaFX ...这是否意味着JavaFX有自己独立的运行时环境和开发套件?如果是这样,我在哪里可以找到下载链接?我真的很困惑......

I looked in my computer (I have JDK and JRE installed) but could not find the JavaFX ... Does this mean that JavaFX has its own seperate runtime environment and development kit? If so, where can I find the download links? I'm really confused...

如果它已经在我的电脑上下载了,那么JavaFX是如何工作的?它是类似于Swing还是完全不同(就像它自己的编程语言一样?)

If somehow it is already downloaded on my computer, how does JavaFX work? Is it similar to Swing or completely different (like is it its own programming language?)

对于这些基本问题,我很抱歉,我是JavaFX的新手。

Sorry for such basic questions, I'm new to JavaFX.

推荐答案

JavaFX与JRE 8和JDK 8捆绑在一起.JavaFX jar是 jfxrt.jar 并驻留在 ext 文件夹中。
要部署应用程序,唯一的必要条件是JRE 8已正确安装。

JavaFX is bundled with JRE 8 and JDK 8. The JavaFX jar is jfxrt.jar and resides in the ext folder. To deploy an application the only requisite is that the JRE 8 is properly installed.

JavaFX和Swing之间存在相似之处,但也存在差异。最好的方法是阅读JDK网站上提供的文档。请注意阅读JavaFX 8页面而不是JavaFX 2页面,因为存在一些差异,并且一些旧示例可能不起作用。

There are similarities between JavaFX and Swing, but also differences. The best way to start is by reading the documentation available at the JDK site. Be careful to read JavaFX 8 pages and not JavaFX 2 pages as there are some differences and some old examples might not work.

您可能也是一个或其他示例中的interestes我在我的博客中发布一杯Java

You may also be interestes in one or other example I am posting in my blog A Cup of Java

这篇关于JavaFX附带JDK 8?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆