Skip to content

Could not determine Java version using executable (Java 10 build 10+44) #4503

@yay

Description

@yay

Looks like a regression to me: #3892

Tested with Gradle 4.5.1 and Java 10, on macOS 10.12.6 with IntelliJ IDEA 2017.3.4 Community Edition.

The exact message when opening a gradle project is:
Could not determine Java version using executable /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/java.

$ /Library/Java/JavaVirtualMachines/jdk-10.jdk/Contents/Home/bin/java --version
java 10 2018-03-20
Java(TM) SE Runtime Environment 18.3 (build 10+44)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10+44, mixed mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions