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

Java App to .EXE - Derby DB

I have a Java Application (allows people to enter in sales). It is connected to a Derby Database. The app was developed using NetBeans IDE. I need to convert this app to a .exe for distribution. Normally I would use Launch4j for this, but since the…
user1551783
  • 83
  • 1
  • 8
0
votes
2 answers

Does launch4j work for all platforms?

I have an application that has a few parts: A launcher The main data (the bin folder) The main data will be in the form of a few executable jar files, and some other files. However, I want to make the launcher have some 'native' components to…
user2097804
  • 1,122
  • 4
  • 13
  • 22
0
votes
0 answers

Distributing jar file using launch4j

I have created a jar file and linked it to .exe file using the launch4j, it was working in the computer that I created the software, but when i try to distribute the software, The .exe file or .jar file or .jnlp file, none are working. When I double…
vijay
  • 1,129
  • 7
  • 22
  • 34
0
votes
1 answer

How to use launch4j in Eclipse to run the application and develop it?

We are developing an application using musicg library, when we run the program in eclipse getting outofmemory exception. Below is the class public class FingerprintDemo{ public static void main (String[] args){ String filename = "Fun…
developer
  • 9,116
  • 29
  • 91
  • 150
0
votes
1 answer

How do launch jar through javaw.exe with dll

I try to execute a jar. java.exe is wrapper system dll files. so it can use native library. But javaw.exe is not wrapper system dll or path.. java -jar somejar.jar correctly works. But javaw -jar somejar.jar isn't working with dll library.. I must…
tae jun Kim
  • 176
  • 1
  • 1
  • 10
0
votes
4 answers

How to run .exe file converted from .jar file using Launch4J tool without Jre

I converted my jar file into .exe using Launch4J. Now as per my need I have to run this exe file on system with no JRE installed. Is it possible to run .exe file converted from jar file without JRE or is there any way to embed JRE with the .exe…
Ram
  • 45
  • 2
  • 4
  • 8
0
votes
3 answers

Code Signing for my Lauch4J/NSIS Installer on Windows XP?

What is the procedure for signing my code so that when user clicks on the installer it does not prompt unknown vendor. My Setup is, Application is java based. I wrap jar with launch4j Installer is based on nsis. My build platform is xp. One other…
Hamza Yerlikaya
  • 49,047
  • 44
  • 147
  • 241
-1
votes
2 answers

How should I compile my java project targeting Java SE 8?

I have a Java Project (an application to play connect 4) and I want to turn it into an executable file. I created this project in VsCode, and I am using the Java Language Server (see details below). I extracted the .jar file, and used Launch4J to…
Josh
  • 46
  • 1
  • 8
-1
votes
3 answers

How to refer a jar outside exe in Java desktop application?

I have a Java application installed. The jar is bundled into an .exe file using Launch4J. Now I want to create a patch for this application. If I create another jar containing only updated files, how can I refer it in the original code?
amit
  • 39
  • 1
  • 7
-1
votes
1 answer

Java FileWriter. How do you create a folder in the same directory as your .exe file?

public void saveFile() { try { try (BufferedWriter save = new BufferedWriter (new FileWriter("Lessons\\" + tempTextField.getText() + ".txt"))) { // creates the file save.write(lessonPane.getText()); //…
-1
votes
1 answer

.exe closes as soon as its run

I have an exhaustive problem currently boggling me... I have created a java program through Eclipse and exported to a runnable .jar. Then I have used both Launch4j to create a .exe from it as well as used Inno Settup compiler to create an…
SHooper
  • 38
  • 7
-1
votes
1 answer

java.sql.SQLException:path

I got this error when I changed my java project into an .exe file and then I try it in another PC The Error here is the code of connecting to SQLite Database public static Connection dbConnector() { try { …
-1
votes
2 answers

To distribute my java program as an application with jre to my client

I have completed my project and now i want to deploy it. i have converted jar to exe using launch4j and created a setup using inno setup compiler. Now my problem is when i run this application in other system it asks for JRE. i have tried all…
user_1992
  • 13
  • 4
-1
votes
1 answer

how to run a java tool without running java in task manager

I developed a tool using java, I have a created an APP.exe using Launch4j and when I execute the APP.exe, Java runs along with the Tool. I can see it in Task Manager. How to run the tool alone without running java? or all tool developed in java…
user3201343
  • 141
  • 2
  • 9
-1
votes
1 answer

Using launch4j, will end user still need the JRE installed?

I just wonder if I use launch4j to convert jar to executable (exe file) on Windows. If I take the executable (and other created files if there is any) to another computer which doesn't have JRE installed and I don't have administrative permission,…
sotonLoon
  • 73
  • 1
  • 1
  • 8
1 2 3
25
26