Skip to content

JavaFX is needed to run audio accessors in JDK11 and later. Eclipse update needed. #24

@cxbrooks

Description

@cxbrooks

Recall that JavaFX is used by the audio accessors under CapeCode.

JavaFX was removed in JDK 11, see https://www.infoworld.com/article/3305073/removed-from-jdk-11-javafx-11-arrives-as-a-standalone-module.html

Configure, ant and the makefiles have been updated to use a newer version of JavaFX, which requires using the module system.

It is not completely clear how to update Eclipse to use the module system.

See https://openjfx.io/openjfx-docs/#install-javafx

For Java 12, we need to add:

--module-path $PTII/vendors/javafx/javafx-sdk-12.0.1/lib --add-modules javafx.controls,javafx.swing,javafx.media

to the compiler and java runtime commands in Eclipse.

Note that the javafx-sdk-12.0.1 would be different if we are using JDK11. Configure can determine the precise path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions