B4J Question Convert to Exe Problem

D

Deleted member 103

Guest
Hi,

I have created from a jar-file a exe-file.
When I run the exe file to another PC then comes this error message.
On the other PC Java (jre1.8.0_101) is installed.
Can anyone tell me what's wrong with my configuration?

cmm-editor_1.JPG
cmm-editor_2.JPG
cmm-editor_3.JPG
 
D

Deleted member 103

Guest
Now I have the Java version jre1.8.0_60 installed and working.
Question! why this version is absolutely necessary if the configuration "Min JRE version: 1.8.0_60" is?
 
Upvote 0
D

Deleted member 103

Guest
Note that there aren't really good reasons to use Launch4j. If you want to create a simple and standard installer for your app then you should use B4J packager. It will embed the JRE in the installer instead of relying on the system java.
Hi Erel,

I have already tried the "B4J packager", unfortunately it does not work.
This is my Konfiguation.
It comes not an error message and it does not create a setup file.
cmm-editor_4.JPG
 
Upvote 0
D

Deleted member 103

Guest
works now!:)
The problem was in Java, there were konflickte with several versions.

But now I have a new problem.
After installing my program looks like
cmm-keyboard_2.JPG


But if I run the jar file it looks like this.
cmm-keyboard_1.JPG


Why are the bitmaps of the buttons are not visible? :(
 
Upvote 0
D

Deleted member 103

Guest
I solved the problem. :)

But I think that the problem in the IDE is.
The had added the bitmaps with the designer.
cmm-keyboard_3.JPG


Now I have added the bitmaps via code and it works.
cmm-keyboard_4.JPG
 
Upvote 0
Top