Skip to content

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

Merged
grendello merged 1 commit into
dotnet:masterfrom
jonpryor:jonp-max-jdk
Jan 10, 2018
Merged

grendello merged 1 commit into
dotnet:masterfrom
jonpryor:jonp-max-jdk

Conversation

@jonpryor

Copy link
Copy Markdown
Contributor

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
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1290584
Fixes: dotnet#5710

Changes: https://github.com/xamarin/monodroid/compare/75cf1a237380e95f684438b782e3829efc5109c6...3a05726b80e390dc9dddf39784338f8789e50a7f

  * xamarin/monodroid@3a05726b8: [Xamarin.Android.Build.Tasks] Fix the MAX_COMMAND adb Error. (dotnet#1182)
  * xamarin/monodroid@83de4b43c: [Xamarin.Android.Build.Tasks] Support FastDev for System Apps (dotnet#1177)
  * xamarin/monodroid@02f19e057: Bump to xamarin/android-sdk-installer@6bf8527 (dotnet#1176)
jonpryor added a commit that referenced this pull request Mar 24, 2021
Fixes: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1290584
Fixes: #5710

Changes: https://github.com/xamarin/monodroid/compare/75cf1a237380e95f684438b782e3829efc5109c6...3a05726b80e390dc9dddf39784338f8789e50a7f

  * xamarin/monodroid@3a05726b8: [Xamarin.Android.Build.Tasks] Fix the MAX_COMMAND adb Error. (#1182)
  * xamarin/monodroid@83de4b43c: [Xamarin.Android.Build.Tasks] Support FastDev for System Apps (#1177)
  * xamarin/monodroid@02f19e057: Bump to xamarin/android-sdk-installer@6bf8527 (#1176)
@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