Error "Javascript optimizer has failed (Java is required)."
Posted: Wed Jul 19, 2023 9:31 am
Hello.
When I try to generate an IOS APP, if I check option "Enable Debugger", I get the error:
Javascript optimizer has failed (Java is required). I think that my Java configuration is correct, in PureBasic and in SO environment variables (PATH and JAVA_LIBRARY). In my case, I'm using PB in MacOS and in PB-Preferences-Compiler I have this settings for Java path:
/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/
I have set too my Apple Team ID.
If I disable the option "Enable debugger" no error message is shown and the console prints the erroneous message "Successfully export to 'app name.ipa', but it is not a correct message because none app is generate.
When I try to generate an IOS APP, if I check option "Enable Debugger", I get the error:
Javascript optimizer has failed (Java is required). I think that my Java configuration is correct, in PureBasic and in SO environment variables (PATH and JAVA_LIBRARY). In my case, I'm using PB in MacOS and in PB-Preferences-Compiler I have this settings for Java path:
/Library/Java/JavaVirtualMachines/jdk1.8.0_211.jdk/Contents/Home/
I have set too my Apple Team ID.
If I disable the option "Enable debugger" no error message is shown and the console prints the erroneous message "Successfully export to 'app name.ipa', but it is not a correct message because none app is generate.