Now I have installed JDK.8.0.431.x64 and Java.SE.Runtime.Environment.8.0.431.x64.
I compiled the software with this
Now in B4JPackager11 it displays the following error!
Thanks Erel
Wow, great
How easy it was to create the setup file
How can I make the output EXE after selecting Project > Build Standalone Package for Windows 32-bit? Because I saw that in the InstallerScript.iss file, you can set the Architectures to 32 or 64 bit.
Java 11+ is only compatible with 64 bit archs. You will need to use java 8 with the old packager (or distribute the jar directly) to target 32 bit. In most cases it doesn't worth the effort.
Java 11+ is only compatible with 64 bit archs. You will need to use java 8 with the old packager (or distribute the jar directly) to target 32 bit. In most cases it doesn't worth the effort.
I want to cover Windows 32, 64 bit users.
So to generate exe for Windows 32 bit I have to do it manually and it is not possible in b4j. Right? (Unfortunately I don't know how to generate exe file manually and then create the setup file)
Because when I enter Java 8 address in configuration paths, build time gives message to select Java +11.
My recommendation:
- 64 bit - distribute the standalone package,
- For the 0.1% of users who use 32 bit - distribute the jar and ask them to install Java 8. They will be able to double click on the jar to run.
My recommendation:
- 64 bit - distribute the standalone package,
- For the 0.1% of users who use 32 bit - distribute the jar and ask them to install Java 8. They will be able to double click on the jar to run.
Your suggestion was great
This is great
Does the jar file run on 32 and 64 bit?
1. That is, if Java 11 is installed, the jar file will run on 64 bit and if Java 8 is installed, the jar file will run on 32 bit?
2. And that to run the exe file on 64 bit, there is no need to install Java 11?