B4J Question Create an executable file.exe from file.jar

Arnaud

Active Member
Licensed User
Longtime User
Hello,

I have followed this tutoriel "Create Windows native executables (exe files)".

https://www.b4x.com/android/forum/threads/create-windows-native-executables-exe-files.35863/

I have no error that appears, but my file.exe doesn't start...

How know where is the problem?

Thanks.

alfano-6-updater-png.72878
 

Arnaud

Active Member
Licensed User
Longtime User
Nothing,

I have the impression that the program starts and closes immediately without any message... I see just the anti-virus who verify the programme and it doesn't found a virus.
In attachment the screenshot of the command line.
 

Attachments

  • command line.png
    command line.png
    123 KB · Views: 187
Upvote 0

Daestrum

Expert
Licensed User
Longtime User
Silly question - is this a non-ui program ?
if so maybe StartMessageLoop is missing.
 
Upvote 0

Arnaud

Active Member
Licensed User
Longtime User
at Daestrum, it is a UI program.

I have Updated Java, it is the same version of java (picture in attachment) but now, it works fine. I did not understand why...
 

Attachments

  • B4J ALFANO 6 Updater.png
    B4J ALFANO 6 Updater.png
    428.3 KB · Views: 201
Upvote 0

Arnaud

Active Member
Licensed User
Longtime User
sorry I did not express myself well. I have follow your advice, thank you very much. I want say , I did not understand, before and after, the java version is the same, I have not understand what was updated in the message "about java" but it was the default java as you say.

Thanks for your help Erel.
 
Upvote 0
Top