Jump to content
valdiralbertod@gmail.com

Error Could not find program, C:\bin\\java.exe

Recommended Posts

Boa noite,

Ao tentar compilar (F9) um aplicação em Delphi 10.4 (Firemnokey para Android) para application store gerando arquivo .aab, estamos tendo o seguinte erro: [PAClient Error] Error: E6404 Could not find program, 'C:\bin\java.exe'
Esse arquivo realmente não existe, mas não tem nada na documentação sobre ele.

No build não dá nenhum erro, mas quando vai gerar o .aab final, dá esse erro.
Se gerar o .apk, ou seja, desmarcando a opção do .aab, aí ele gera o apk sem problemas.
Mas a Play Store não aceita mais .apk, somente .aab.

O SDK, NDK e java estão todos configurados corretamento no projeto.

Alguma sugestão do que pode ser e como corrigir esse erro?

Obrigado

error.png

Share this post


Link to post
1 minute ago, valdiralbertod@gmail.com said:

When trying to compile (F9) an application in Delphi 10.4 (Firemnokey for Android) for the application store generating an .aab file, we are getting the following error: [PAClient Error] Error: E6404 Could not find program, 'C:\bin\java.exe'

Is this happening only when attempting to generate an .aab (as opposed to .apk)? Please show what the Java settings are for your Delphi installation.

Share this post


Link to post
10 hours ago, Dave Nottage said:

Is this happening only when attempting to generate an .aab (as opposed to .apk)? Please show what the Java settings are for your Delphi installation.

Sim, o problema ocorre somente se tentarmos gerar o .aab. O .apk ele gera tudo certo.

Anexo a configuração do Java.

Obrigado

java.png

Share this post


Link to post
8 hours ago, valdiralbertod@gmail.com said:

Anexo a configuração do Java.

As per the installation notes, Delphi 10.4 requires AdoptOpenJDK 8. This article includes some instructions on how to install it. Please just focus on the part regarding AdoptOpenJDK. After it is installed, you'll need to change the Java part of the SDK settings in Delphi.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×