Skip to content

Install instructions mention Java 11 but build expects Java 12 #5478

@egonw

Description

@egonw

I'm following the build instructions from http://help.jabref.org/en/Installation#building-from-source (link given by the README), and running into a few issues. The first was easy to solve, but at least at Debian 10 you need to set JAVA_HOME (minor issue).

A bigger problem is that Java 11 does not seem enough anymore, and I get this error in the ./gradlew assemble step:

Found module name 'org.jabref'

> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJava'.
> Could not target platform: 'Java SE 12' using tool chain: 'JDK 11 (11)'.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2m 6s
7 actionable tasks: 7 executed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions