Create java application to .exe with Launch4j

1

I developed an application in java in Netbeans. What I need is to convert it to .exe to use it on a computer that has Windows XP 32-bit that does not have and can not put the JRE for security reasons.

My PC works with Windows 10 to 64 bits, I found a post that explained how the Launch4j could solve the JRE problem but when I open the App on the Windows XP 32-bit computer it gives me a compatibility problem.

Any ideas on how to solve this problem?

    
asked by ErnestoPerez 02.08.2017 в 20:47
source

1 answer

1

Launch4j allows you to download the java runtime to the target PC to run the application.

Since in this case you can not install it, you can download from the Oracle page a 32-bit java runtime and put it together with the application and create a bat script to execute it. This will greatly increase the size of the application (Applications like JDownloader have embedded their own java runtime for example)

You can also use Avian link to integrate a small virtual machine with the application and have the .exe

    
answered by 03.08.2017 / 13:02
source