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

no awt in Java. library. path #498

Open
liujinge opened this issue Jan 2, 2024 · 1 comment
Open

no awt in Java. library. path #498

liujinge opened this issue Jan 2, 2024 · 1 comment

Comments

@liujinge
Copy link

liujinge commented Jan 2, 2024

I execute mvn gluonfx: compile, mvn gluonfx: link, and mvn gluonfx: package all normally, but the exe program cannot run with the following error:

Exception in Application start method

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] Exception in thread "main" java. lang. RuntimeException: Exception in Application start method

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] at com. sun. davafx. application. LauncherImpl. launchApplication 1 (LauncherImpl. dava: 893)

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] at com. sun. davafx. application. LauncherImpl. lambda $launchApplication $2 (LauncherImpl. java: 195)

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] at Java. lang. Thread. run (Thread. java: 833)

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] at com. oracle. svm. core. thread. PlatformThreads. threadStartRoutine (PlatformThreads. java: 704)

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] at com. oracle. svm. core. windows. Windows Platform Threads. osThreadStartRoutine (Windows Platform Threads. java: 143)

[Tuesday, January 2 14:52:35 CST 2024] [Information] [SUB] Caused by: Java. lang. UnsatisfiedLinkError: no awt in Java. library. path

I can execute the mvn gluonfx: run program normally and pop up a window, but the mvn gluonfx: nativerun program cannot run and execute

What should I do?

@liujinge
Copy link
Author

liujinge commented Jan 2, 2024

It should be that staticJavaLibs is missing awt, which is located in Java home/bin awt.DLL

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