Pass Java project to exe [closed]

0

I need to know if it is possible to pass a Java project to an .exe, the IDE that I use is Intel J Idea. I have two .java files right now: the Main and a class called 'student' that I created. Thanks.

    
asked by nerviosus 16.08.2018 в 02:31
source

2 answers

5

The Java compiler can not generate an executable% native .exe Windows.

However, there are several alternatives that you can use to generate an executable .exe from an executable .jar . Most are native wrappers (wrappers) of Java applications.

  • Launch4J . It is a multiplatform tool for wrapping distributed Java applications .jar in Windows native light executables. Very popular. I recommend this practical tutorial .
  • Advanced Installer . It is an advanced tool for creating Windows installers to install, update and configure programs in a safe and reliable way. I recommend this tutorial , it's in English but it's easy to understand.
  • Excelsior JET . Enables Java applications to be implemented as native executables optimized on multiple platforms.
  • Jar2Exe . Jar2Exe is a jar files converter to executive binary files for Windows, Mac, and Linux.
  • JSmoother . Generates an executable .exe that acts as a wrapper (wrapper) for a .jar executable. It's something old, it has not been updated for a long time.
answered by 16.08.2018 / 04:06
source
0

You can use the Lauch4j, which is a program that helps you generate the. exe of the jar.

link

You just have to download it, then you can generate the jar .exe that you have, it's very easy and intuitive.

    
answered by 16.08.2018 в 03:36