Skip to content

JDK 10 removed javah #51

@Leo428

Description

@Leo428

I tried to build the master with JDK 10 on Mac OS High Sierra. Error like this will occur:

Unable to locate an executable at "/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/javah" (-1)

I resolved this issue by changing line 112 in jni.gradle to

executable org.gradle.internal.jvm.Jvm.current().getExecutable('javap')

This problem is caused by the removal of javah
I have not tested whether "javap" will work the same as "javah" in other JDK versions. Hope you can look into this.

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