Skip to content

Conversation

@jonpryor
Copy link
Contributor

@jonpryor jonpryor commented Sep 4, 2018

The Microsoft OpenJDK package does not contain the includes
directory, or jdk.h, or anything else needed to build native code.
Consequently, it is not useful for building Java.Interop.

Update the <JdkInfo/> task to require that JdkInfo.IncludePath
includes directories. (We don't currently check that jdk.h exists,
but we could do so in the future if necessary.) This causes the
Microsoft OpenJDK package to be skipped during make prepare,
causing the Java.Interop build to instead use a "system" JDK
installation which does provide the include directories.

The Microsoft OpenJDK package does *not* contain the `includes`
directory, or `jdk.h`, or anything else needed to build native code.
Consequently, it is not useful for *building* Java.Interop.

Update the `<JdkInfo/>` task to require that `JdkInfo.IncludePath`
includes directories.  (We don't currently check that `jdk.h` exists,
but we could do so in the future if necessary.)  This causes the
Microsoft OpenJDK package to be *skipped* during `make prepare`,
causing the Java.Interop build to instead use a "system" JDK
installation which *does* provide the `include` directories.
@jonpryor jonpryor requested a review from grendello September 4, 2018 17:56
@jonpryor jonpryor merged commit cc14ed1 into dotnet:master Sep 5, 2018
@github-actions github-actions bot locked and limited conversation to collaborators Apr 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants