The executable created by install4j does not start

I rate install4j because I want to generate an executable for our Windows users. We usually run our application directly in Eclipse or using bash scripts. We have one big jar with the whole structure, as well as with our applications and some jars of dependencies. During deployment, we set the class path to one shellscript and run individual applications using other shellscripts.

This procedure works with both Linux, Mac, and Windows.

Now I tried to install the demo version of install4j and tried to create an installer.

As a result, I create an installer that launches and installs the generated EXE and all our other files in the directory structure below it.

However, running the generated executable does not work very well. A demo dialog will be displayed, and after a while the application will exit without error messages.

My guess, of course, is that it crashes, probably because the path to the classes is wrong or something like that.

The problem is that I played several times with install4j options for several hours without any changes in behavior, and now I'm in the dark. Adding the entire LIB directory, "Scan Catalog", adding banners separately, etc. Etc.

Is there a way to get some debugging information from the generated executable? Or is any information completely unsuitable for what is going wrong?

+4
1

Windows Mac OS X, .

Windows /create-i4j-log. , , , .

,

INSTALL4J_LOG=yes

, ( "i4jlog..." ) % TEMP%.

Mac OS X

INSTALL4J_LOG=yes

.

launchctl setenv INSTALL4J_LOG yes

( ) Java :

INSTALL4J_LOG=yes myLauncher.app/Contents/MacOS/JavaApplicationStub

.

+2

All Articles