B4J Question Weird messages after starting a compiled package

GMan

Well-Known Member
Licensed User
Longtime User
I have a compiled package.
But starting shows me this:
1794306100476.png


When i click OK this one comes up:
1794306170788.png


I have Java 19 installed:
1794306302406.png


When i update (i.e. Java26) this is shown:
1794306528821.png


Clicking this:
1794307355751.png


leads me to an installation of JRE8 (for Windows) ?

"Simple" question: WTH is this ?
 
Last edited:
Upvote 0
OK, but why i t comes up suddenly ? (Never saw this before).
Anything changed anywhere so this message comes up ?
I didnt change anything...

Oho, look at the licence prizes.
1794308025495.png

Do i need it ?
 
Upvote 0
You don't need to purchase an exe4j license or upgrade to Java 26.

I'm using **Java 19 with B4JPackager11**, and it works without problems.

I recommend following Erel's official tutorial:

**Integrated B4JPackager11 – The simple way to distribute standalone UI apps**


You can create a standalone package directly from B4J using **Project → Build Standalone Package**.

### Important: Configure your executable properties

Regardless of which packaging method you choose, I recommend defining the application metadata in your B4J project header:

```b4x
#PackagerProperty: ExeName = MyApplication.exe
#PackagerProperty: AssemblyTitle = My Application
#PackagerProperty: AssemblyDescription = My B4J desktop application
#PackagerProperty: AssemblyCompany = My Company
#PackagerProperty: AssemblyProduct = My Application
#PackagerProperty: AssemblyVersion = 1.0.0.0
#PackagerProperty: AssemblyCopyrightAttribute = Copyright (c) 2026 My Company
#PackagerProperty: IconFile = ..\Files\app.ico
```

Replace these example values with your actual application information.

These properties help Windows identify your executable correctly, displaying its name, version, company, description and icon.

### Alternative: InstallerLab

If you also want to create professional Windows installers or portable packages, you can try **InstallerLab**, a tool I developed specifically with B4J developers in mind.

Download it here:


InstallerLab supports EXE, portable, MSI and other packaging formats.

It also offers an alternative launcher and packaging options that may help reduce antivirus false positives compared with some traditional B4J launchers.

However, no packaging tool can guarantee that an antivirus will never flag an executable.

**My recommendation:** Start with Erel's B4JPackager11 tutorial and Java 19. If you need additional distribution options or encounter antivirus false positives, give InstallerLab a try.

In both cases, make sure to configure your application's metadata properly before packaging.
 
Upvote 0
Anything changed anywhere so this message comes up ?
From the first link i posted:

Without a license key, exe4j can be evaluated without any time limit, but the executables will show evaluation warnings and services will stop after 30 minutes.

Maybe this is relevant here?
 
Upvote 0
Back
Top