Share My Creation MakeB4XLib - Creating libraries *.B4Xlib

Hello forum lovers,
I am happy to provide the MakeB4XLib v1.7 application for own use only for forum users.
Please read this restriction in the further content of the post: Application-Regulations - to continue to Google Drive.

MakeB4XLib - to continue to Google Drive. (A password to unpack the file may be required - MakeB4XLib_Encrypted Archive.7z)


Update - 26.09.2024
MakeB4XLib - Min/Max JRE version: 1.8.0 - 1.8.0.421 (Java SE Development Kit 8 Update 421 (64-bit).

Update - 31.10.2024

MakeB4XLib - Min/Max JRE version: 1.8.0 - 1.8.0.431 (Java SE Development Kit 8 Update 431 (64-bit).

You can find the tutolial
HERE.

PS. Before installing the application, I suggest you carefully read the ReadMe! .txt file.


 

Attachments

  • IMG-1.png
    3.3 KB · Views: 135
  • IMG-1A.png
    9.7 KB · Views: 119
  • IMG-2.png
    6.7 KB · Views: 122
  • IMG-3.png
    75.3 KB · Views: 120
  • IMG-4.png
    69.5 KB · Views: 125
  • IMG-5.png
    56.8 KB · Views: 123
  • ReadMe!.txt
    3.9 KB · Views: 95
  • IMG-6.png
    68.7 KB · Views: 134
Last edited:

Xfood

Expert
Licensed User
Hi, @Xfood
For now, I only provide the executable file itself,
I will pay attention to the demand for the source of the code
I wanted to compliment you on the graphics part, I wanted to use it for a new application of mine, then I wanted to ask you, how do you generate an autonomous exe from b4j?
 

T201016

Active Member
Licensed User
Longtime User
Hi, @Xfood
True, I was able to make graphics quite decent. Thank you.
If I can ask what application my project would be used for? And as for the question about the EXE machine in B4J, I still use Launch4J VER.3.9.
Do I understand correctly, do you want to create a EXE with B4J, with a few projects ready after compilation (Application .jar)?
 

Xfood

Expert
Licensed User
yes exactly, I wanted to create an exe. without transferring the 50mb of data that the integrated package in b4j creates. I'm creating a digital catalog application, and I really liked your graphics.
 

T201016

Active Member
Licensed User
Longtime User
yes exactly, I wanted to create an exe. without transferring the 50mb of data that the integrated package in b4j creates. I'm creating a digital catalog application, and I really liked your graphics.
Maybe in the next version I will include your idea with the *.exe generator.
 

Magma

Expert
Licensed User
Longtime User
Maybe in the next version I will include your idea with the *.exe generator.
...hmmm if extract your exe with winrar... getting many folders... with .class files, dlls... ....actually about 28mb of files... but no exe - not even jar or batch files... i am so curious... how you did that...

inside there are many folders... and all seems to have class files of java...

the speed of running exe - seems like it is native and not using any third tool.... but in taskmgr runs Java... hmm

also the exe is very old (before 1 year) - so you ve alredy have it and didn't share it

We are waiting for that secret...
 

T201016

Active Member
Licensed User
Longtime User
We are waiting for that secret...
Each project hides its secrets ...
I failed because I was curious how the fate of the new type of .b4xlib library would go, and by the way this library format is quite interesting and to like. Hence my decision to support others.

I will add -
Yes, the application is native, in Taskmgr it launches Java because the program (Launch4J) creating the .exe file allows you to specify the minimum version of Java required to launch the application. It can also be configured so that he use the attached JRE or searches for a specific Java installation in the system.

If the required version of Java is not found, Launch4j can be configured so that it is directed to download it. Therefore, whether Java must be installed depends on it
How do you configure the EXE compilation process:
 
Last edited:

T201016

Active Member
Licensed User
Longtime User
yes exactly, I wanted to create an exe. without transferring the 50mb of data that the integrated package in b4j creates. I'm creating a digital catalog application, and I really liked your graphics.
Hi,
Here is the pre - announced new function of batch compilation of projects :

Update: 1.7.0.1 - to continue to Google Drive. (A password to unpack the file may be required)
Please read this restriction in the further content of the post: Application-Regulations - to continue to Google Drive.
- a new function has been added
The new feature enables mass compilation of your selected projects for executable files (*.exe)
by shell.run () - requirements! You must have a version of the Launch4J program installed on the computer.
The program should work on Windows 7 - 8 - 8.1 - 10 - 11.


Configuration of the EXE compilation process is as follows:


1. Attach your new 'Files_cfg' folder to each of your project, and in it
There should be two files ('settings.xml') and ('ico.ico');

settings.xml - contains the process of compilation of your project to the EXE form. You will open this file with a program ('Launch4j.exe')*
ico.ico - Icona for your project (you can replace it with your own, replacing the one in ('Launch4j.exe')

2. Now you can run the new version of Makeb4XLib.
3. Completely in the File menu: 'File Locations' - a field of full path to the program ('Launch4jc.exe').
4. After selecting projects for 'Source Files Projects Folders' list. You will do it by pressing the (+) button.

Applies only to application projects, not library projects.

5. Chooce from the File menu: 'EXE compilation process'.
This selection will automatically (immediately) start the process of compilation (all) of your projects added.
Projects not having the 'Files_cfg' folder with the contents of the above - mentioned two files
- They will be omitted without a message!

When the compilation succeeds, you will find the .EXE file in the Objects folder,
i.e. in the place where it is compiled JAR your project, or in the place indicated
in Launch4J (field: output executable file).


EXPLANATION!
*) File 'settings.xml'. Under the edited using the installed program ('Launch4j.exe'),
And make your changes in it. Before starting the compilation, make sure that all
The data in it has been correctly entered.

Remember, you use my version of 'MakeB4XLib' at your own risk.
In fact, the 'MakeB4XLib' program should not cause damage to your source project,
At most, it may not finish (read: do not perform) projects compilation. Jar for the form .EXE

Before leaving the 'MakeB4XLib' program, the program may happen
will ask you to save the available data, then select the 'Cancel' option,
If you don't want to save a new 'deploydata'.
 

Attachments

  • Files_cfg.zip
    16.1 KB · Views: 57
  • settings-xml.png
    66.7 KB · Views: 63
Last edited:

Magma

Expert
Licensed User
Longtime User
Hi there...

is using launch4j ?

Is that working with OpenJava project or only for Oracle java ?
So if not found openjdk installed at specific folder - asks to download it ? right ?

Thanks in advance for your answers
 

T201016

Active Member
Licensed User
Longtime User
Hi there...

is using launch4j ?

Is that working with OpenJava project or only for Oracle java ?
So if not found openjdk installed at specific folder - asks to download it ? right ?

Thanks in advance for your answers
Hi ...

is using launch4j ? - YES.
is that working with OpenJava project - Maybe.
or only for Oracle java - Oracle for sure.
So if not found openjdk installed at specific folder - asks to download it - Must be installed.

In fact, the program has not yet been tested in this respect, all in its time
 

T201016

Active Member
Licensed User
Longtime User
Hi. I have the version of Java RE 1.8.0_421 and your new version of the program 1.7.0.1 requires Java 1.8.0 - 1.8.0_371 when starting and it won't start.
I am working on joining the higher version of Java.
 

T201016

Active Member
Licensed User
Longtime User
Hi. I have the version of Java RE 1.8.0_421 and your new version of the program 1.7.0.1 requires Java 1.8.0 - 1.8.0_371 when starting and it won't start.
Hi, @Jerryk

I have prepared a new version of the makeb4xlib application, for the JDK executive environment version 1.8.0_421.
(see post No. #1)

Min JRE version 1.8.0
Max JRE version 1.8.0_421
Java SE Development Kit 8 Update 421 (64-bit)



I chose in the "Search Options" section in Launch4J 3.9.exe
The following option: Prefer JDK Runtime, but use public JRE if newer.

- because it was displayed in Makeb4XLib (menu: "File Location"/create archive with) the following message:

Instals Required!
Java 8 Update 371 (Oracle Corporation) or higher.


Initially, in the previous version of JDK 3.7.1 I used the option in Launch4J 3.9
(Prefer public JRE, but use JDK runtime if newer).


I hope that this will not significantly affect the new version of Makeb4XLib.
 
Last edited:
Cookies are required to use this site. You must accept them to continue using the site. Learn more…