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
0
votes
1 answer

How do I control what JRE version is bundled with my application?

I'm considering bundling a JRE with my Java application. I'm using Launch4J. Looking around stackoverflow this seems easy enough to do. What I've not seen any information on is where I get the JRE from in a controlled manner. I'd like to be able to…
CodeBuddy
  • 5,749
  • 1
  • 25
  • 30
0
votes
1 answer

Wrapping a groovy script into an executable. E.g. using launch4j

I have written a small groovy application that I would like to package into a windows and linux executable I have previously used launch4j for a java application for this, but is it even possible to build an executable from a groovy script?
u123
  • 15,603
  • 58
  • 186
  • 303
0
votes
1 answer

What is difference between executable and install able jars

I am developing one desktop application in javaFX. I am using in memory database hsqldb. I want to make this application to run on any windows machine by just double click or by installing. I have gone through the launch4j library, using which I can…
ajay_t
  • 2,347
  • 7
  • 37
  • 62
0
votes
1 answer

probleme with absolute layout while converting jar into exe on launch4j

i've finished my java application now i need to convert it into an .exe file i've done some research and i found that Launch4j is the less problems wrapper , i've done everything with success only when it comes to run the .exe file it shows me this…
0
votes
1 answer

NetBeans and One-Jar Creation for Stand alone application

Please help me out,I have developed the simple application with two external jar files.While clean and build,it's creating a jar file for the application and the library folder in dist directory. When I try to execute as a jar,it's executing…
Mathu
  • 84
  • 1
  • 12
0
votes
2 answers

java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.7.0_09\jre\bin\jmtp.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform

I am creating a windows application, I need to create an installer for that for that I used Launch4J software. It is throwing me an error java.lang.UnsatisfiedLinkError: C:\Program Files\Java\jdk1.7.0_09\jre\bin\jmtp.dll: Can't load IA 32-bit .dll…
user2085965
  • 393
  • 2
  • 13
  • 33
0
votes
1 answer

Grizzly / Jersey resources inside an executable generated with launch4j

I am having issues running a Grizzly Web Server with Jersey Resources when the web server is run from an executable generated by launch4j. The resources are inside the executable generated by launch4j, but the program cannot access them. If I…
Andrea
  • 155
  • 1
  • 1
  • 9
0
votes
1 answer

change system tray icon (quicklaunchicon) Launch4j, Inno setup

I have created the exe file from jar and used this exe to create the installer using Inno setup. However when I install the system tray icon is not changing to custom icon I am proving in the .iss script. With Inno Setup the application icon which…
Ayub
  • 599
  • 3
  • 10
  • 24
0
votes
1 answer

Executing wrapped java app in SSIS

I've made an appliaction in java which is performing some operations on the database. Then I wrapped jar using launch4j (making exe) and it's working fine when I double-click it. But if I put it as a part of SSIS process (in Execute Process Task)…
Damian
  • 13
  • 1
  • 6
0
votes
1 answer

Text file for DB settings cannot be created

I create an Library Management System Application in Java Swing, and I created the executable file using launch 4j. Then I created an installer using Advanced Installer 10. When I am running my application a text file is created for saving the…
0
votes
2 answers

Building .exe file with database connectivity jars

Can anyone tell me how to build the .exe file by including the library jar files for database connection? I have a standalone application and I am using the launch 4j .exe builder.
CrazyCoder
  • 15
  • 5
0
votes
1 answer

launch4j: Override Default JVM Heap Size via Command Line

In the launch4j configuration for my Java application I have set values for the min. and max. heap size. This works fine, however, for some users it makes sense to override these parameters with other values. Is it possible with launch4j to have…
Matthias
  • 9,817
  • 14
  • 66
  • 125
0
votes
1 answer

How to secure resources from being extracted?

I have a jar file with a resources folder. I have converted it to EXE using Launch4J. How you can I secure my resources from being extracted using winzip/winrar ? P.S. I know there is no 100% hacker proof way but I want to make it secure such that…
geek_guy
  • 607
  • 1
  • 5
  • 17
0
votes
2 answers

-server option for Launch4j?

I've been poking around the launch4j website and can't seem to figure out how to set the -server program option, there's an old forum post indicating it might be a future option but no further details are available. Is it possible to run the JVM in…
Mark Elliot
  • 75,278
  • 22
  • 140
  • 160
0
votes
1 answer

What exactly does launch4j do?

If I am understanding correctly: It will allow me to send an embedded JRE along with my JAR so that my jar works whether or not the user has Java installed on their computers. I have never worked with it before so I thought I might ask before…
An SO User
  • 24,612
  • 35
  • 133
  • 221