Java 13:为什么缺少javaFX运行时组件? [英] Java 13: Why are javaFX runtime components missing?

查看:413
本文介绍了Java 13:为什么缺少javaFX运行时组件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误消息:错误:JavaFX运行时组件丢失,并且是运行此应用程序所必需的

Error Message: Error: JavaFX runtime components are missing, and are required to run this application

在这里查看:项目结构照片

LOOK HERE: project structure photo

我已经下载了该项目的javafx扩展以及jar文件并将其附加,程序知道javafx在那里,因为代码错误消失了.但是,然后它说没有文档,也没有说没有JavaFx运行时组件.试图让javafx在Eclipse中运行Hello World程序时,我遇到了一个又一个错误.

I have downloaded the javafx extentions for the project as well as the jar file and attached it, the program knows javafx is there since the code errors went away. However, it then said there were no docs and no it says there's no JavaFx runtime components. I have been hiting error after error trying to get javafx to just run a hello world program in eclipse.

推荐答案

JavaFX已从Java 11中删除.

JavaFX was removed from Java 11.

它不再随JDK一起提供,您需要单独安装(它现在是一个名为OpenJFX的独特产品).

It's no longer shipped with the JDK, you need to install it separately (it's now a distinct product called OpenJFX).

这篇关于Java 13:为什么缺少javaFX运行时组件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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