Skip to content

The detected jdk version is not compatible with current gradle version #197

Open
@yuyully

Description

@yuyully

Gradle for java: v3.17.0

The detected jdk version is not compatible with current gradle version

Repro steps:

  1. Make sure there is JDK 21/16 in your local machine and JAVA_HOME is not JDK 21/16.
  2. Don't set gradle import java version in vscode settings

Clone and open https://github.com/apache/lucene.git : The detected jdk is 17 but actually 21 is required.
Image

Clone and open https://github.com/SpongePowered/Mixin.git : The detected jdk is 16 but actually it reports an error with jdk 17. (java home=17)
Image

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