Menu

Is this possible

Help
Enrico
2015-02-04
2015-02-26
  • Enrico

    Enrico - 2015-02-04

    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!

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2015-02-05

    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

     
  • Enrico

    Enrico - 2015-02-25

    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!

     
  • Grzegorz Kowal

    Grzegorz Kowal - 2015-02-26

    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

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.