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

java16运行乱码 #2

Closed
is101101 opened this issue Dec 16, 2021 · 2 comments
Closed

java16运行乱码 #2

is101101 opened this issue Dec 16, 2021 · 2 comments

Comments

@is101101
Copy link

java version "16.0.2"
大佬,我不太懂java哈,配置了javafx环境,环境如下

export PATH_TO_FX=/Library/Java/JavaVirtualMachines/jdk-16.0.2.jdk/javafx-sdk-11.0.2/lib

运行 shiro_attack-4.5-SNAPSHOT-all.jar 出现乱码,还有报错提示信息如下

java --module-path $PATH_TO_FX --add-modules=javafx.controls --add-modules=javafx.fxml --add-modules=javafx.base --add-modules=javafx.graphics --add-modules=javafx.web -jar shiro_attack-4.5-SNAPSHOT-all.jar

2021-12-16 15:49:41.187 java[89289:289238] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2021-12-16 15:49:41.187 java[89289:289238] CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
2021-12-16 15:49:41.199 java[89289:289238] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2021-12-16 15:49:41.601 java[89289:289278] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2021-12-16 15:49:41.657 java[89289:289278] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2021-12-16 15:49:41.657 java[89289:289278] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].
2021-12-16 15:49:41.726 java[89289:289278] CoreText note: Client requested name ".SFNS-Regular", it will get Times-Roman rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[NSFont systemFontOfSize:].

image

@SummerSec
Copy link
Owner

使用JDK8 运行

@is101101
Copy link
Author

使用JDK8运行

jdk8没问题

@SummerSec SummerSec pinned this issue Dec 16, 2021
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