? ?‍? ?‍? Distributing B4A and B4J inside the organization

Erel

B4X founder
Staff member
Licensed User
Longtime User
B4X tools don't really need to be installed. It is quite simple to copy the tools from one computer to many others.

This tutorial explains how to clone B4A and B4J after it is installed on a single computer.

B4J
  1. Install B4J as explained here: https://www.b4x.com/b4j.html
    Use OpenJDK.
    Install it to C:\B4X\B4J
  2. Run B4J and configure the paths under Tools - Configure Paths.
    Either leave the "additional libs folder" empty or set it to C:\B4X\AdditionalLibs\B4J
  3. Close the IDE.
  4. Find the INI file: C:\Users\<user>\AppData\Roaming\Anywhere Software\B4J\b4xV5.ini and copy it to the installation folder: C:\B4X\B4J
  5. Now you can copy OpenJDK and the B4X folder to other computers.

B4A
  1. Install B4A as explained here: https://www.b4x.com/b4a.html
    Use OpenJDK
    Install it to C:\B4X\B4A
    Note that unless you plan to use the emulator (which is probably not a good idea) you don't need to run the sdk manager at all.
  2. Run B4A and configure the paths under Tools - Configure Paths.
    Either leave the "additional libs folder" empty or set it to C:\B4X\AdditionalLibs\B4A
  3. Close the IDE.
  4. Find the INI file: C:\Users\<user>\AppData\Roaming\Anywhere Software\Basic4android\b4xV5.ini and copy it to the installation folder: C:\B4X\B4A
  5. Now you can copy OpenJDK, Android SDK and B4X folder to other computers.
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
once the INI file has been copied to the installation folder, will it also be used by the IDE, or subsequent changes should be copied back from the Roaming directory?
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
This is cool.
why just don’t distribute all in “portable” format, with no install required?
handy for moving development environment from different machines and for quick classroom setup
 

Alessandro71

Well-Known Member
Licensed User
Longtime User
I understand, but I was suggesting the “containerized” version as the only distribution method.
 
Top