B4J Question Is there tool to convert jar2exe easily if I get expert 's jar file

Theera

Well-Known Member
Licensed User
Longtime User
from this and this , the previously I used the online tool,it can be used,but I don't know why doesn't it be done.
 

Theera

Well-Known Member
Licensed User
Longtime User
Launch4j >>There are many menu for setting, so I selected the online strategy.When I have update jdk19.0.2 for B4A13 I don't know that why it doesn't work. I think it about jre file.
B4JPackager >>the jar file isn't mine.
 
Upvote 0

Swissmade

Well-Known Member
Licensed User
Longtime User
Ýou need the runtimer in the Folder where you have the Jar file.
Let say you create a Folder jre in the same folder.



Put in the jre folder the jre runtime files in.

 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
It is very easy to use Inno Script. I remember you asked this question before in the past.
Inno script>> the jar file must be mine, but it is the expert's
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
You are not allowed to distribute other people app without permission.
I still can do, If the jar file created by me, but this case the jar file is expert's.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
You are not allowed to distribute other people app without permission.
The expert share the tool which is jar file, it isn't convenient for me.So I converted to exe file for using privately.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
The expert share the tool which is jar file, it isn't convenient for me.So I converted to exefile.
Show the jar file you are talking about.
The app compiled in Java 8 can be run as executable (double click to run if you have Java 8 installed on your PC).
For apps compiled with Java11, you need to use B4JPackager11.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
REDISTRIBUTE it as YOUR OWN!
I never think the experts'result to my own.I respects the experts' projects for only studying and inviting Thai programmers are interested in B4X. I don't have a profit fromB4X., I do learn B4X because I do love Erel's B4X.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Show the jar file you are talking about.
The app compiled in Java 8 can be run as executable (double click to run if you have Java 8 installed on your PC).
For apps compiled with Java11, you need to use B4JPackager11.
I have jdk8 and jre in java folder already.
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
I never think the experts'result to my own.I respects the experts' projects for only studying and inviting Thai programmers are interested in B4X. I don't have a profit fromB4X., I do learn B4X because I do love Erel's B4X.
When a member shared the jar file or apk file, it is mean to be use as it-is. It should not be modified further.

It also means the source code is NOT AVAILABLE as Open Source.

Decompiling or Repackage it is against the law, rules, etiquette or moral. You are not respecting the work of the developer.

Even if it is for non-profit, permission must be requested from the original developer. He/She may allow you to do what you are requesting.
Unless it is clearly stated in a post by the developer that you are allowed to modify and use it in production and sell for profit.

If you are sure it is compiled using Java 8 then run it using Java 8.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
Have you ever use the code from github, or not? Why do you convert to B4X code? I have still respect to experts' codes. Please stands in the my sight. I would someone understand me as non-expert. My country use B.E.Year (not be C.E.Year). People inThailand are 97% are not good at English.
 
Upvote 0

Theera

Well-Known Member
Licensed User
Longtime User
I want us to love and unite with each other, rather than thinking about this kind of thing. Don't forget. We are on the same team, B4X family team. (translate by Google)
 
Upvote 0

aeric

Expert
Licensed User
Longtime User
Have you ever use the code from github, or not?
Of course. I have also contributed a lot on GitHub for B4X projects.
Check my repo. I am one of the top contributors on GitHub for B4X.
I also understand licenses.

I repeat again.
There are reasons why a B4X member shared the jar file but not an exe.
1. Not all jar can make it into exe and run. It can be a library and use in B4X IDE.
2. If it is Java 8. Run by double click on it.
3. If it is compiled as Java 11+, it need to be run using JDK. If you want make it as EXE, you need to use tools like Inno Setup or the tools you mentioned provided you have the bin, lib folders etc.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…