A build error I'm getting...

Here are two errors that I’m getting. I know this is Android relevant and I did post it within that forum, but maybe someone else has a solution? Thanks!

Error building Player: Win32Exception: ApplicationName=‘java.exe’, CommandLine=‘-Dcom.android.sdkmanager.toolsdir=“C:/Program Files (x86)/Android/android-sdk\tools” -classpath “C:/Program Files (x86)/Android/android-sdk\tools\lib\sdkmanager.jar” com.android.sdkmanager.Main list targets’, CurrentDirectory=‘’
UnityEditor.BuildPlayerWindow:BuildPlayerAndRun()

and

Exception: Error building Player: Win32Exception: ApplicationName=‘java.exe’, CommandLine=‘-Dcom.android.sdkmanager.toolsdir=“C:/Program Files (x86)/Android/android-sdk\tools” -classpath “C:/Program Files (x86)/Android/android-sdk\tools\lib\sdkmanager.jar” com.android.sdkmanager.Main list targets’, CurrentDirectory=‘’
UnityEditor.BuildPlayerWindow.BuildPlayerWithDefau ltSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:367)
UnityEditor.BuildPlayerWindow.BuildPlayerAndRun () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:291)

I found the solution… I had to install JDK 1.6 - 32 bit to correct the problem.