Jump to content
  • Entries

    16114
  • Comments

    7952
  • Views

    86395172

Contributors to this blog

  • HireHackking 16114

About this blog

Hacking techniques include penetration testing, network security, reverse cracking, malware analysis, vulnerability exploitation, encryption cracking, social engineering, etc., used to identify and fix security flaws in systems.

The biggest feature of Java file jar is cross-platform, but the more troublesome thing is that we need to install the Java environment. It's very simple for professionals, but it's relatively bloated for other users. Today, let’s talk about how to save jar files as exe files.

Software used

eclipseexe4j

Generate jar file

Run eclipse to open our project.eclipse

Select the project-export-jar file 请输入图片描述

As shown in the figure, remove the √ in front of lib and setting (config) and the √ in front of classpath project and set the saved name.请输入图片描述

Click next step to set the main class and click to finish!

Generate jar to exe

Run exe4j to select jar in exe mode exe4j

Create a new folder, preferably the same name as the project. Copy the lib and settings under the project and the jar file we generated to this directory.请输入图片描述

Set the generated name and the location of the file just created 请输入图片描述

Click Next, set the name, icon, click Advanced Settings, set compatible with 32 and 64-bit systems 请输入图片描述 请输入图片描述

Add our runnable jar file, the library file that has been used in the project lib 请输入图片描述

Setting version 请输入图片描述

Then go all the way down!