Hi everybody;
I would like to know if is possible with l4j to compile the exe in a way that the program will stop if java is not installed in the machine, i mean without error messages and no open browser to the download page... simply closing silently, not running the jar.
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
You cannot disable the error message, but you can leave the Java download URL empty - the browser will not open. There is small bug as the GUI has this field marked as required, but will compile the exe without it.
Best regards,
Grzegorz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Grzegorz, thanks for your reply;
I've figured out that re-compiling head.c and head.h files; commenting lines 184 and 189 in head.c I can disable the error message and the open browser feature.
It's the first time that i "work" with C language... can you tell me wich software should i use to recompiling this files?
I tried Dev C++ but it gives me multiple errors on compile...
Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi everybody;
I would like to know if is possible with l4j to compile the exe in a way that the program will stop if java is not installed in the machine, i mean without error messages and no open browser to the download page... simply closing silently, not running the jar.
Thank you!
Hi,
You cannot disable the error message, but you can leave the Java download URL empty - the browser will not open. There is small bug as the GUI has this field marked as required, but will compile the exe without it.
Best regards,
Grzegorz
Hi Grzegorz, thanks for your reply;
I've figured out that re-compiling head.c and head.h files; commenting lines 184 and 189 in head.c I can disable the error message and the open browser feature.
It's the first time that i "work" with C language... can you tell me wich software should i use to recompiling this files?
I tried Dev C++ but it gives me multiple errors on compile...
Thank you!
Hi Enrico,
Use Dev-C++ 5.7.1 MinGW 4.8.1 to compile launch4j 3.6.
For earlier version you can use The bloodshed dev-cpp
Best regards,
Grzegorz