B4J Question Alternative to the B4JPackager11 tutorial

D

Deleted member 103

Guest
Hi,

is there an alternative to the B4JPackager11 tutorial?
I can't handle it. For a few days now I have been trying to convert a jar file to an exe file, unfortunately without success.
I have already tried 3 versions of B4JPackager: B4JPackager, B4JPackager1.50 and B4JPackager11.

This is the error message from B4JPackager1.50:
 

DonManfred

Expert
Licensed User
Longtime User
I'm definitely doing something wrong, but unfortunately the tutorial doesn't help me.
i would try to start at the error


the iss file need to have a MinVersion set to 6.0 or higher


Have you tried to edit the base iss script?
 
Last edited:
Upvote 0
D

Deleted member 103

Guest
Hi Manfred,
I don't understand this error message, I'm using Windows 10.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
Hi Manfred,
I don't understand this error message, I'm using Windows 10.
I suggest to consult the inno setup documentation.

As already suggested i suggest again to check the Value set for MinVersion in you inno setup script (iss).
Make sure you have set it to a Minimum of 6.0

Add the Var to your iss if not present.

At least this is what i would try if i get such a error. I never used the packager though.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Please keep this discussion about B4J Packager 11. If you want to discuss a different version then start a new thread. It is of course a mistake to use an older version of B4J Packager.

I can't handle it. For a few days now I have been trying to convert a jar file to an exe file, unfortunately without success.
How can we help you if you haven't provided any information?
 
Upvote 0
D

Deleted member 103

Guest
This is the log output from B4JPackager11 :



and that's the execution of run_debug.bat
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Why don't you post the error message, instead of requesting a new tutorial???

Read the tutorial carefully and you will see that it explains this issue:

 
Upvote 0
D

Deleted member 103

Guest
Why don't you post the error message, instead of requesting a new tutorial???
I mostly understand all of your tutorials, and if I don't understand it right away, after a couple of tests I understand it.
But this tutorial, because I can read and read again, I still don't understand it.
Am I maybe too old already?

I have now commented out this line and that's the execution of run_debug.bat
B4X:
    Private ExcludedModules As List
    'ExcludedModules = Array("javafx.web") 'comment this line if using WebView

 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
But this tutorial, because I can read and read again, I still don't understand it.
I'm not sure how you missed it as it is written several times in the tutorial and also in B4JPackager code. If you encounter any problem then post the problem. Requesting a different tutorial is not really productive.

The latest error you've encountered is a different issue which is related to a limitation or bug of MediaPlayer. You cannot play files from File.DirAsset: https://www.b4x.com/android/forum/t...iaplayer-jaudioclip-solved.107803/post-674074
 
Last edited:
Upvote 0
D

Deleted member 103

Guest
The latest error you've encountered is a different issue which is related to a limitation or bug of MediaPlayer.
Ok, that was the last mistake, now it works.
Thank you for your patience.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…