B4J Question B4J compile

sseaand

Member
Licensed User
Longtime User
compile the application without dependencies ? the .exe file does not run separately...
 

teddybear

Well-Known Member
Licensed User
run_debug.bat what is the log?
 
Last edited:
Upvote 0

sseaand

Member
Licensed User
Longtime User
The project compiles, the .exe runs in the project folder, if you move the application to another location an error occurs. How do I build a standalone, independent application?
 
Upvote 0

teddybear

Well-Known Member
Licensed User
The project compiles, the .exe runs in the project folder, if you move the application to another location an error occurs. How do I build a standalone, independent application?
You should move the folder build instead of individual exe file.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
The complete build folder must be copied. Not just the exe.

@teddybear was faster ;)
 
Upvote 0

teddybear

Well-Known Member
Licensed User
So it is always necessary to transfer the entire project folder with the file ? Is it not possible to distribute a single .exe file?
Build folder not project.
No, it is impossible to distribute a single exe file. it is java project and only packaged as exe,it depends on jre for running.
 
Upvote 0

sseaand

Member
Licensed User
Longtime User
Build folder not project.
No, it is impossible to distribute a single exe file. it is java project and only packaged as exe,it depends on jre for running.
What is the minimum you need to move the .exe file to a new folder to make it work on other computers?
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
it is java project and only packaged as exe,it depends on jre for running.
This is a bit confusing. The package contains everything needed. You do need all files from the package.
Best to create an installer with Inno Setup. The compiler will create a template for you.
 
Upvote 0

sseaand

Member
Licensed User
Longtime User
This is a bit confusing. The package contains everything needed. You do need all files from the package.
Best to create an installer with Inno Setup. The compiler will create a template for you.
So it is necessary to save the structure of the project folder where the .exe is after compilation ? And transfer all this to the users ?
 
Upvote 0
Top