Questions tagged [launch4j]

Cross-platform Java executable wrapper for creating lightweight Windows native EXEs. Provides better user experience.

Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables. The executable can be configured to search for a certain JRE version or use a bundled one, and it's possible to set runtime options, like the initial/max heap size. The wrapper also provides better user experience through an application icon, a native pre-JRE splash screen, a custom process name, and a Java download page in case the appropriate JRE cannot be found. http://launch4j.sourceforge.net/

381 questions
3
votes
1 answer

Exec failed error - launch4j Maven plugin

I am trying to build an exe using Maven and I followed this guide using the launch4j plugin in Maven. http://www.hascode.com/2012/08/creating-a-windows-executable-from-a-jar-using-maven/ Upon doing clean install, I get this…
3
votes
1 answer

Can I create an exe on Linux?

I would like to package a Java application into a .exe file using launch4j. My build server is a Linux based operating system. Is it possible to build the .exe on a Linux machine?
jwa
  • 3,239
  • 2
  • 23
  • 54
3
votes
2 answers

Launch4j redirect to download java version

I used Launch4j plugin in my Java project with Maven. When I compile project to exe and run on Windows system where there is no Java installed, it redirects (automatically open web browser) to download Java but with 32-bit version. I want to…
ACz
  • 567
  • 5
  • 22
3
votes
0 answers

Create an exe-File in Maven with VM-Arguments for said exe

i am currently working on a Java-Project that needs VM Arguments specifying the java.library.path. When running my program out of Eclipse - No problem, i can specify my VM arguments easily. Now i want to build my project via maven and haven't found…
SgtDroelf
  • 331
  • 1
  • 18
3
votes
0 answers

How to protect exe file made using Launch4J?

I have one critical issue to solve. I have one critical application written in JAVA, Build executable JAR file out of it and now using launch4J to warp it in EXE for Windows. My main aim is to hide JAVA code/Classes from the user as it contains some…
Akshay
  • 85
  • 7
3
votes
1 answer

How to wrap executable .war with embedded tomcat into .exe?

I have standalone web application, uses embedded Tomcat, MVC Spring boot. How can I wrap it correctly into .exe, not to let final user modify property file. The executable war,created with Maven 'mvn clean install' works just fine while launching…
Dave D.
  • 737
  • 3
  • 10
  • 23
3
votes
1 answer

launch4j compiled java application executable being blocked by antivirus

I am trying to create an installer for my Java Application. I searched online and found out about Launch4j and Inno Setup. After compiling exe using Launch4j, it doesn't seem to work. I am using windows and .exe's not really executing, it wasn't…
yev
  • 512
  • 4
  • 14
3
votes
0 answers

Bundle JRE with IZPACK installer

I have created an installer using IZPACK 4.3.5 Currently it is making use of the system installed JRE/JVM. i want to ship/bundle the JRE with the installer so that we can run the installer even the end user doesn't have any JRE installed in his…
Java7760
  • 57
  • 6
3
votes
1 answer

Enter Mutex error for Launch4J

What is the following error I get in Launch4J while converting my Jar file to an Exe: Enter Mutex Name? I am using Version 3.8 of Launch4J. Comment if you want me to elaborate.
Henry Zhu
  • 2,488
  • 9
  • 43
  • 87
3
votes
1 answer

winrun4j auto detect JVM

I am using WinRun4J utility to create a java desktop application(using JDK 1.6.0_45 64 bit on Windows 7 premium 64 bit) executable. I have created the EXE file by selecting "Export type" as 'Standard' and "Launcher Type" as '64-bit Windows'from the…
Rohit
  • 445
  • 2
  • 7
  • 17
3
votes
1 answer

Gradle: How to use one-jar output as input for launch4j

I'd like to create a exe file, without having to put all required libraries beside the exe. Formerly with ant I created a self-contained jar file with one-jar and then wrapped this into a exe file with launch4j. Gradle has plugins for both and…
peez80
  • 1,583
  • 2
  • 15
  • 32
3
votes
0 answers

.exe file is not working in some systems. created using Launch4J s/w

I am working in windows swt desktop app. I need to create an installer for that I have used Launch4J s/w. Requirements: - Windows 32 or 64 bit and Java 32 bit. Here problem is .exe working fine in some systems and it is not working in some…
user2085965
  • 393
  • 2
  • 13
  • 33
3
votes
2 answers

.exe from launch4j works, but not on all computers

I wrap my Java project's JAR file to an .exe file using launch4j, which works fine on my dev machines and several other computers. However, one user reported he cannot run the .exe file on his machine, as a popup message tells him Could not find the…
Matthias
  • 9,817
  • 14
  • 66
  • 125
3
votes
0 answers

Java program will not open for some users

I have created a Java program that quickly changes the IP Address of my laptop for me. It runs fine on every machine that I test with, so I distributed it to my co-workers so that they could use it as well. One of the techs is unable to open the…
Ron Butcher
  • 489
  • 7
  • 16
3
votes
1 answer

Creating exe from jar file that runs on other computers

I have a simple application consisting of 3 classes which are PercentIdentity.java, GUI.java and Aligner.java I am working with Intellij Idea 11.1.3 (I also tried it with Eclipse) and JRE 1.7. My operating system is Win 7 x64. My program works fine…
Ercument Kisa
  • 168
  • 1
  • 3
  • 12