In B4J, the output .jar file name is determined by the
project name. The only direct way to change the name of the compiled .jar file through the IDE is to rename your entire project file (.b4j file) and project folder.
Alternatively, you can manually rename the result.jar file after it is generated in the Objects folder of your project directory.
Renaming the Project
This method changes both the project file name and the resulting .jar file name.
- Close the B4J IDE.
- Navigate to your project's root folder using your computer's file explorer.
- Rename the main project file (yourprojectname.b4j) to the desired new name (e.g., mynewapp.b4j).
- Optionally, rename the entire project folder to match the new name for consistency.
- Reopen the B4J IDE and open the newly renamed project file.
- When you compile in Release mode, the generated .jar file in the Objects folder will have the new name (e.g., mynewapp.jar).