badass-runtime-plugin icon indicating copy to clipboard operation
badass-runtime-plugin copied to clipboard

Question - JavaFX .so files missing

Open bytecod3r opened this issue 5 years ago • 7 comments

Question, How this library determine what jars to include into the build/images/lib directory? for me some .so files are missing from the JavaFX SDK, so I have to download the JavaFX SDK, copy the lib folder into the image/lib folder that runtime plugin generated for the app to run on linux environment.

The issue is, the library is not automatically copy all the lib files from JavaFX SDK. Any workaround for this to include all the jars into build/image/lib?

bytecod3r avatar Oct 06 '20 20:10 bytecod3r

You should use the org.openjfx.javafxplugin, as shown in this example.

siordache avatar Oct 06 '20 21:10 siordache

I am using that,. but it wont copy the entire javafx SDK

bytecod3r avatar Oct 07 '20 05:10 bytecod3r

Is there any updates for this? or any workaround?

bytecod3r avatar Oct 14 '20 02:10 bytecod3r

I'm not able to reproduce this issue. Do you get the same error when executing ./gradlew runtime on the badass-runtime-example-javafx project?

siordache avatar Oct 16 '20 20:10 siordache

if you are using Java 9+, you need to use an additional plugin org.openjfx.javafxplugin - helped me

SchweinchenFuntik avatar Dec 22 '20 22:12 SchweinchenFuntik

if you are using Java 9+, you need to use an additional plugin org.openjfx.javafxplugin - helped me

I already have this plugin image

bytecod3r avatar Dec 23 '20 03:12 bytecod3r

You also need to specify the javafx modules you need

javafx {
    version = '11.0.2'
    modules = [
        'javafx.controls',
        'javafx.fxml'
    ]
}

DJViking avatar Jan 12 '21 14:01 DJViking