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

Gradle application plugin installDist is missing JavaFX dependencies #52

Open
AdamCarroll opened this issue Mar 20, 2021 · 1 comment
Open

Comments

@AdamCarroll
Copy link
Member

Running the installDist Gradle task should produce a directory containing a binary that can be run from the command line. However, the bundle appears to be missing the JavaFX dependencies:

$ ./gradlew clean installDist

> Configure project :gui
Project :gui => no module-info.java found

BUILD SUCCESSFUL in 3s
13 actionable tasks: 9 executed, 4 up-to-date
$ gui/build/install/VocabHunter/bin/VocabHunter
Error: JavaFX runtime components are missing, and are required to run this application
@AdamCarroll
Copy link
Member Author

I've removed some obsolete Gradle config relating to these start scripts: 13ff42e. APP_HOME was previously used in the logging config but this is no longer the case. There was also a special classpath fix for Windows and it will be necessary to check that this is no longer needed with an up-to-date version of Gradle.

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