Skip to content

Error: Could not find or load main class org.jabref.JabRefMain Caused by: java.lang.NoClassDefFoundError: javafx/application/Application #6098

Closed
@zenny

Description

Hi,

$ java -jar JabRef-4.3.1.jar
Error: Could not find or load main class org.jabref.JabRefMain
Caused by: java.lang.NoClassDefFoundError: javafx/application/Application

I am in voidlinux with java 11:

$ java --version
openjdk 11.0.5-internal 2019-10-15
OpenJDK Runtime Environment (build 11.0.5-internal+11-adhoc..jdk11u-jdk-11.0.510)
OpenJDK 64-Bit Server VM (build 11.0.5-internal+11-adhoc..jdk11u-jdk-11.0.510, mixed mode)

There is nothing like javafx as advised in #2867 (comment) which points to a page that does not exist, fyi.

UPDATE:

However, after much searching, I got an impression from https://docs.jabref.org/faq/faqs-on-operating-systems/faqlinux that JabRef 4.xx does not work with java requires Java 8. Whereas Jabref 5 requires Java 13.

But I tried with openjdk8 first with the same error and that is the reason I updated to openjdk11, fyi.

Any clue?

Cheers,
/z

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