Skip to content

Outdated Java-Version in Building-Instroctions for Fedora in README.md #19

@Lytjoe

Description

@Lytjoe

I just built the library on my fedora machine. I tried to follow your instructions step by step, but I got the following error after I executed the make command:

FAILURE: Build failed with an exception.

* Where:
Build file '.../libdecsync/build.gradle' line: 15

* What went wrong:
A problem occurred evaluating root project 'libdecsync'.
> Failed to apply plugin 'com.android.internal.library'.
   > Android Gradle plugin requires Java 11 to run. You are currently using Java 1.8.
     Your current JDK is located in  /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.362.b09-2.fc37.x86_64/jre
     You can try some of the following options:
       - changing the IDE settings.
       - changing the JAVA_HOME environment variable.
       - changing `org.gradle.java.home` in `gradle.properties`.

* 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 682ms

After installing a newer version of Java with yum (sudo yum install java-17-openjdk) it seemed to work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions