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

java高版本下运行错误,如何解决? #1

Open
cjlovefree opened this issue May 8, 2023 · 3 comments
Open

java高版本下运行错误,如何解决? #1

cjlovefree opened this issue May 8, 2023 · 3 comments

Comments

@cjlovefree
Copy link

大佬,高版本java下运行出现错误如下:
错误: 找不到或无法加载主类 com.itkim.HelloApplication
原因: java.lang.NoClassDefFoundError: javafx/application/Application
请问如何解决?能不能编译一个支持java高版本(java 11以上)的成品?

@YiLin008
Copy link

这个是因为缺少javafx的问题吧?

@cjlovefree
Copy link
Author

是因为缺少javafx的

不知道 反正我java11运行有问题,java8没问题!

@YiLin008
Copy link

是的,java8以后就不绑定fx了

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

2 participants