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 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.
I'm filing another bug right now, so this one will be brief.
Here's the screencast: http://screencast.com/t/7XcI3YmYp
1) Have JDK 6 set
2) Try to set JDK7
3) Reopen Options (also this persists through a restart of XS, screencast doesn't show it though)
JDK 7 is set
Still JDK 6
Nothing looks relevant in the logs, can investigate further if needed though.
This appears to be a deliberate decision made by the android team: https://github.com/xamarin/androidtools/blob/master/Xamarin.AndroidTools/Sdks/AndroidSdkWindows.cs#L144
Dominique: Any idea why the JDK location isn't preserved on Windows?
I've added a trello card to our disparity board so the VS team can discuss further whether we should implement the UI for this.
As mhutch said in Comment #1, this is an androidtools bug/feature/Q#$%@#$%@.
Related: androidtools needs to be updated to support JDK 1.8.
Windows should be updated to support overriding the JDK location.
I have checked this issue with the latest stable build XVS 3.11.666 and observed that this issue has been fixed and no longer exist with this build. Now changing the JDK location in SDK Preferences for Android, it save successfully.
This issue has been fixed, hence I am closing this issue.
=== Xamarin Studio ===
Version 5.9.4 (build 5)
Installation UUID: 08cac54d-8d5b-406e-adf0-707e52f76272
Microsoft .NET 4.0.30319.18408
GTK+ 2.24.22 (MS-Windows theme)
=== Xamarin.Android ===
Version: 5.1.4 (Business Edition)
Android SDK: E:\android-sdk
Java SDK: C:\Program Files (x86)\Java\jdk1.7.0_60
java version "1.7.0_60-ea"
Java(TM) SE Runtime Environment (build 1.7.0_60-ea-b15)
Java HotSpot(TM) Client VM (build 24.60-b09, mixed mode, sharing)
=== Build Information ===
Release ID: 509040005
Git revision: 8010a90f6e246b32364e3fb46ef2c9d1be9c9a2b
Build date: 2015-06-08 17:16:25-04
Xamarin addins: 7e93e9c3503f28770f23ce1b7eafd829919f18e8
=== Operating System ===
Windows 6.2.9200.0 (64-bit)