I build an EXE from my Maven project with Launch4j, which is written with jdk1.8.0_172 64-bit
.
But when I tried to launch the EXE file from CMD or Git bash, it says
This application requires a Java Runtime Environment 1.8.0 (32-bit)
Do you have any idea why it happens and what I should do to resolve this problem?