Page 1 of 1

android app generation fails

Posted: Fri Jul 28, 2023 11:07 am
by hichem
Hello community,

when i try to generate an android app the generation stops at 60% and complains about the javahome path:
"the supplied javaHome seems to be invalid. i cannot find java exe"

i use window.sb example for test (enable debugger on and CloseDebugOutput() written in the first line of code)

can you please give me the correct way to add je java.exe to the environment variables.

the setup
windows 11
spiderbasic 2.50
jdk used :C:\Program Files\Microsoft\jdk-11.0.19.7-hotspot

thank you.

Re: android app generation fails

Posted: Fri Jul 28, 2023 11:24 am
by Peter
Maybe this information will help:
Fred wrote: Tue Nov 08, 2022 8:47 am Acccording to this: https://cordova.apache.org/docs/en/late ... nt-kit-jdk, only JDK 8 is supported for corvoda 6.x (we use this in SB).

Re: android app generation fails

Posted: Fri Jul 28, 2023 11:34 am
by hichem
Thank you i will try it.


Same result, i tried the two sdk, same error message.

Re: android app generation fails

Posted: Sun Aug 13, 2023 5:50 pm
by davenull
I have similar setup and wasted a full day trying to get Android app generated. Everything started to work after installing Eclipse Temurin JDK x86. It needs to be 32-bit, and I was trying to get a 64-bit version to work. Oh well.

Re: android app generation fails

Posted: Mon Aug 14, 2023 9:16 am
by hichem
it works,
thank you. ;)