Splash Window

Show a splash window during program starting


This function is supported on Windows only. Since V2.1.2, the SpalashScreen is supported on Windows, Linux and Mac OS X.

During Windows GUI type of program is starting, it is supported to show a splash window before the main window opens. Usually the splash window shows a program image. The splash window will be closed in a short time.

Comparing with Splash feature of JRE 1.6, Splash Windows of Jar2Exe is more simple and easy. Splash Window of Jar2Exe is JRE version independent, it can work with any version of JRE. It can show a fixed image only.


To integrate with Splash Window is not necessary.

If you want to control the Splash Window, for example: to show for a longer time, or close at a certain moment, you need to do some integration.


Splash window not showing


For some reasons, my splash window is not showing.

I've configured it in step 3 and it shows when I click on Test button. But not when I launch the exe (Windows GUI Application).

I tried to change many options here and there but it's always the same. No splash.

Jar2Exe version:
OS: W7 64 bits

Any idea?


Splash Window Never Goes Away

In version 1.3, I had a bmp file that showed as a splash screen for a few seconds when my program started up.

When I went to 2.1, I had the same problem as lionel (above).

There is an additional problem, though.  If you do not have any GUI, and you run as a "Windows GUI Application", then the splash screen never goes away.

I have been able to get the splash screen to go away by adding this to my code:

JFrame frame = new JFrame();        frame.setVisible(true);        frame.dispose();

But there must be a delay before running this, otherwise the splash disappears too soon (I do not have the "Close splash when first window opens" checked).

So although there is a work-around, I don't think that the spash screen should persist indefinitely for Windows GUI applications that do not need any GUI elements.

Please use 'gif', 'png' or 'jpg' file

Since Jar2Exe v2.1.2, the generated exe file will use the "splash" feature of JRE instead if it is running with JRE 1.6 or above.

The "Splash" of JRE requires a 'gif', 'png' or 'jpg' file, so please try again.

I'm so sorry Jar2Exe does not limit this or clarify this.

Your second question, you can control the splash by 'close()' of 'java.awt.SplashScreen'.

BEX Event from MSVCR100.dll

The exe I make from Jar2Exe disappears occasionally in a Windows level crash (EventType=BEX).  Running from the jar, this crash has not been experienced.

In the Report.wer, noticed that the Fault Module Name (MSVCR100.dll) is adjacent to splashscreen.dll (in the JRE directory).

This failure has been experienced only in 64 bit Windows 10, never anywhere else.

This failure happens very rarely, but it only happens when the Java code is running "Runtime.getRuntime().exec((String[])cmds.toArray(new String[0]), null, null);"  The underlying exe that is called is always the same, but the failure has only been experienced when a specific parameter is sent (thus calling on the underlying exe to perform a certain function).  The only function where the failure is observed is on the "save" command.  The underlying exe is called many times without problem, but when this long-running "save" command is run, sometimes there is this failure.

Question: Could there be unexpected interaction from the splashscreen.dll when Runtime.getRuntime().exec() is called from an already running Java application?

Windows crash report and Java code running during the crash:


Inquiry made in the support forum for the underlying exe:



Add new comment