Skip to content

No value has been specified for property 'javaHome' #11

@pitcer

Description

@pitcer

Running runtime task on Linux, Java 11, Gradle 5.2.1 and Runtime Plugin 1.1.5 causes the following error:

A problem was found with the configuration of task ':runtime'.
> No value has been specified for property 'javaHome'.

Using the following configuration in build.gradle:

runtime {
	javaHome.set(System.getProperty("java.home"))
}

fixes the problem, so I propose to change this line to javaHome.set(System.getProperty("java.home")). It should work in every case.

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