Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
Created attachment 19679 [details]
After installing Java lastest version java version "9-ea". when i am building my code its saying Error:- /Library/Frameworks/Mono.framework/External/xbuild/Xamarin/Android/Xamarin.Android.Common.targets: error : Tool exited with code: 2. Output: javac: option --boot-class-path not allowed with target 1.9
Even i tried Visual studio for mac , its causing the same issue
*** Bug 52179 has been marked as a duplicate of this bug. ***
## Non-engineering team preliminary quick review
Based on a quick search, I see that JDK 9 is an early access preview at this time . The upstream Android SDK tools from Google are likely not yet compatible with that new version at this time. Xamarin support for JDK 9 will follow some time after the upstream Android SDK explicitly mentions compatibility with JDK 9, and that will most likely be some time after the "General Availability" date for JDK 9 .
In short, please use Java JDK 8 (1.8) for compatibility with the Android SDK and Xamarin.Android. Thanks!
## Note to the Xamarin engineering team
Feel free to chime in with any additional comments or corrections.