Module javafx.controls not found even after adding vm arguments

huangapple 未分类评论48阅读模式
英文:

Module javafx.controls not found even after adding vm arguments

问题

以下是您要翻译的内容:

我想学习使用Java和JavaFX开发GUI应用程序,但我在设置JavaFX时遇到了很大的困难。

我已经查阅了每一篇stackoverflow帖子和YouTube视频教程,但我仍然遇到相同的错误。

我已经从gluonhq网站下载了适当版本的JavaFX。

我已经创建了一个名为JavaFX11的用户库,并添加了javafx lib文件夹中的所有jar文件。

我已经编辑了Eclipse上的运行配置,并在VM参数中添加了lib文件夹的路径。

但我仍然收到“找不到模块javafx.controls”的错误。

这是我创建的库的图片:

Module javafx.controls not found even after adding vm arguments

这是VM参数的图片:

Module javafx.controls not found even after adding vm arguments

这是我收到的错误:

Module javafx.controls not found even after adding vm arguments

英文:

I want to learn to develop GUI applications with Java and JavaFX, but I'm having a really hard time setting JavaFX up.

I've seen every stackoverflow post and youtube video tutorial and i'm still getting the same error.

I've downloaded the appropriate version of the JavaFX from the gluonhq website.

I've created a user library named JavaFX11 and added all the jars that were on the javafx lib folder.

I've edited the run configurations on eclipse and added the path of the lib folder to the VM Arguments.

And I still get the error "Module javafx.controls not found".

Here is a picture of the library i created:

Module javafx.controls not found even after adding vm arguments

And here is a picture of the VM Arguments:

Module javafx.controls not found even after adding vm arguments

And here is the error that I'm getting:

Module javafx.controls not found even after adding vm arguments

huangapple
  • 本文由 发表于 2020年4月7日 01:47:43
  • 转载请务必保留本文链接:https://java.coder-hub.com/61065796.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定