Search Issue Tracker

Fixed in 2018.2.X

Votes

0

Found in

2018.1.0a1

2018.1.0b3

Issue ID

990414

Regression

Yes

"UnityException: Unable to find suitable JDK installation." When Windows platform is selected

Android

-

Reproduction steps:

1. Open "Gene Labs.zip" project
2. Enter Play mode

Expected Result: Enters Play mode without any errors
Actual Result: "UnityException: Unable to find suitable JDK installation."

Fixed in: 2018.2.0a1

Reproduced with: 2018.1.0b5, 2018.1.0a1
Did not reproduce on: 2017.3.0p4, 2017.2.1p3

Note:
Make sure to have Android support, to NOT have JDK installed and Platform set to Windows standalone

Error:
UnityEditor.Android.AndroidJavaTools.LocateJDKHome (System.Boolean allowDialogs) (at <b66883b396694f0d9e3d3ba0d12ced79>:0)
UnityEditor.Android.AndroidJavaTools.Init () (at <b66883b396694f0d9e3d3ba0d12ced79>:0)
UnityEditor.Android.TargetExtension.OnLoad () (at <b66883b396694f0d9e3d3ba0d12ced79>:0)
UnityEditor.Modules.ModuleManager.InitializePlatformSupportModules () (at C:/buildslave/unity/build/Editor/Mono/Modules/ModuleManager.cs:242)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.