Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

解决高版本不会自带javafx库的问题 #24

Open
Nagato1919 opened this issue Feb 5, 2024 · 0 comments
Open

解决高版本不会自带javafx库的问题 #24

Nagato1919 opened this issue Feb 5, 2024 · 0 comments

Comments

@Nagato1919
Copy link

解决高版本不会自带javafx库的问题:

  1. JavaFX - Gluon (gluonhq.com)上下载JavaFX包。其中,JavaFX version、Operating System、Architecture根据你的Java版本和操作系统选择,Type选择SDK。

  2. start.bat同目录下,命令行输入:

    Windows

    java --module-path your\download\path\to\javafx-sdk\lib --add-modules javafx.controls,javafx.fxml -jar app\geospider.jar

    your\download\path\to\javafx-sdk\lib换成你下载解压出来的JavaFX包lib地址。

    LInux

    把反斜杠\替换为正斜杠/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant