Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build] Set $(JI_MAX_JDK) for Java.Interop #1176

Merged
merged 1 commit into from
Jan 10, 2018

Conversation

jonpryor
Copy link
Member

Update the make prepare step so that we pass JI_MAX_JDK=8 to
Java.Interop's make prepare step. This prevents us from using JDK 9
if it is installed on the machine.

Internal VSTS builds are failing seemingly because JDK 9 is
installed and used by default on the build machine, with gradelw
bailing out with:

Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

This previously worked with JDK 8, so we're hoping that the use of
JDK 9 is the cause, and by excluding JDK 9 from being used we'll be
able to build on VSTS again.

Update the `make prepare` step so that we pass `JI_MAX_JDK=8` to
Java.Interop's `make prepare` step. This prevents us from using JDK 9
if it is installed on the machine.

Internal VSTS builds are failing *seemingly* because JDK 9 is
installed and used by default on the build machine, with `gradelw`
bailing out with:

	Caused by: java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema

This previously worked with JDK 8, so we're hoping that the use of
JDK 9 is the cause, and by *excluding* JDK 9 from being used we'll be
able to build on VSTS again.
@grendello grendello merged commit a3c4358 into dotnet:master Jan 10, 2018
jonpryor added a commit to jonpryor/xamarin-android that referenced this pull request Mar 23, 2021
jonpryor added a commit that referenced this pull request Mar 24, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Feb 4, 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