jdk14 build failed cause "The <sys/sysctl.h> header is deprecated and will be removed."

Severin Gehwolf sgehwolf at redhat.com
Tue Sep 8 08:21:22 UTC 2020


On Wed, 2020-08-05 at 15:46 +0800, 451541695 wrote:
> Hello,  Thanks for providing java for developers.
>   I am trying to build jdk-14 to use, but failed to build.
>   The error is following:
> 
>    My environment:
>       Linux: Ubuntu 20.04.1 LTS
>       autoconfig:
> 
>  I don't know what happened to <sys/sysctl.h>, my Ubuntu version is too high?
> Long for your replying.

Could this be:
https://bugs.openjdk.java.net/browse/JDK-8235833

Looks like it's fixed in 14.0.2. Are you building from the updates
tree?

http://hg.openjdk.java.net/jdk-updates/jdk14u/

Thanks,
Severin




More information about the build-dev mailing list