B4J Question Creating Executable (.exe) file

I have created ".exe" file of my application built in B4J. That ".exe" file is running fine on windows 7(32 & 64 bit), but not running on windows 10 and windows XP !!! could any one tell me how to create executable file for windows 10 and windows XP(service pack 3) ?? Thank you !!!
 
How did you create the executable file? With Launch4j? It will only work if Java is properly installed.

A better option is to create an installer: https://www.b4x.com/android/forum/threads/ui-apps-packaging-self-contained-installers.56854/
Hey, thank you so much Erel !!! I have seen the web page your link suggests. But for that i don't know how to get and from where to get that "Packager" thing. i don't know from where to open that packager window(but i know where java's packager.exe resides, in my case it is in--"C:\Program Files\Java\jdk1.8.0_111\bin\javapackager.exe"). just help me with "How to get that Packager window as shown in your link" !!! thank you !!!

And yes, one more thing i forgot to mention that i also have installed "Inno Setup Compiler" !!
 
Upvote 0
You need to download B4J_Packager and run it.
Thank you Erel, it's really good to have your guidance. i did open the B$J_Packager. it opens with the default source code in it. i just closed that default source code, and opened my source code into the packager by File>Open Source. after which packager's window name changed to the myprojectname-B4J. then i run the code with normal "Release" option. it then created "myprojectname.jar" file in "C:\Users\Anuj\Objects" location. but when i double click on that(myprojectname.jar) file it gets opened with WinRAR Archiver. so please help me with this issue !!! if you can tell step by step procedure then i'll be really grateful to you. Thank you !!!
 
Upvote 0
Top