Skip to main content
0 votes
0 answers
28 views

Exe file not running when launched from an exe file [closed]

I have a program that works very well, when I run it from a jar file. Here is the code: try { Runtime.getRuntime().exec(Paths.get("MyProgram.exe").toAbsolutePath()....
Chris's user avatar
  • 3
0 votes
1 answer
19 views

When using semantic versioning Launch4J throws error 'project.version' is in invalid format. Regex pattern: ^((\d(.)?)*\d+)(-\w+)?$

Using Launch4j-Maven-Plugin Version 2.5.0 When using the semantic versioning scheme https://semver.org/spec/v2.0.0.html Example: 1.0.0-alpha+001 throws error 'project.version' is in invalid format. ...
404LengiNotFound's user avatar
0 votes
1 answer
109 views

Generated .exe not working (Standalone program written in Javafx, Scenebuilder)

I have written a simple calculator program in Javafx and scenebuilder in Eclipse IDE. It is running well. Also I can create .JAR file by Launch4J. This jar is also running in command promt with the ...
Shreyan Sarkar's user avatar
0 votes
0 answers
18 views

Unable to construct Application instance: class Launcher$Main [duplicate]

i tried to convert my JavaFX Projekt from IntelliJ to a Exe using Launch4j. But now i am stuck with this error.. none of the other solutions on stackoverflow worked. Can anyone help me with my problem?...
Applicator's user avatar
1 vote
1 answer
670 views

Launch4j | "This application requires a Java Runtime Environment." when opening .exe, that is a .jre file converted to .exe

I run the file with command prompt Command: file.exe Output: This application requires a Java Runtime Environment. Is this error due to the .exe using the wrong JRE path? I've tried the below ...
Test Tst's user avatar
0 votes
1 answer
29 views

How can I build an application for java 1.8 using Eclipse?

How can I prevent a "module" error when running a Java 1.8 application using Eclipse, My first PC application using Eclipse. I hadn't paid attention to the level of Java I'm using, but ...
mpa's user avatar
  • 11
1 vote
1 answer
252 views

ls launch4j can add trojan into exe file

This is my first question, so please forgive me if I miss anything. I scanned my ".exe" file (converted from ".jar" with launch4j )using VirusTotal and found some trojans. Then I ...
user avatar
0 votes
1 answer
129 views

Is possible to deploy apache-tika in a single jar using maven and javafx?

I´ve already finish a desktop application using IntelliJ, OpenJDK17, JavaFX17 in a project build with Maven. The project runs well inside de IDE, the problems begin when I try to deploy the app in a ...
CFJR Corporativo's user avatar
0 votes
0 answers
63 views

Packaging jar + JRE with Launch4J

I'm trying to create a Windows executable from my Java app (app.jar). I'm using Launch4J to do this I created a folder called appfolder, which contains the app.jar and a folder called jre (which ...
treejuice123's user avatar
0 votes
0 answers
56 views

How can I create an executable (from a JAR) with the --enable-preview option in Launch4J?

I recently developpe an JavaFX application with the very new JDK-22. I use Launche4J to create my executable. After creating the JAR archive, I configure Lauch4J like I've already did with past ...
francis389's user avatar
1 vote
0 answers
91 views

Could not resolve placeholder in spring boot after build in launch4j

I got a spring boot application with a common @value placeholder, stored in "application.properties": It works fine. But when the application in packed as "exe" in launch4j, i ...
Ruslan  Gabbazov's user avatar
0 votes
0 answers
32 views

I have a problem with sharing my Java application + Launch4j

Hello fellow programmers. I'm going to give you a little bit of context to understand my problem better ;P I've studied a 2 year vocational training of programming, and now I have to spend 3 months in ...
bbburglarly_'s user avatar
0 votes
0 answers
58 views

JavaFX components are missing, and are required to run this application error after creating exe with Lanuch4j

I made my first JavaFX application and I wanted to export it to .exe. I used IntelliJ to write code, used Maven Tools to create JAR and then Lanuch4J to convert it. From Launch logs I get Executing: ...
Ersaron's user avatar
1 vote
1 answer
124 views

Launch4j gives error message: "Java Virtual Machine Launcher: A Java Exception has occurred". Any idea why?

First time poster at StackOverflow. First time user of Launch4j. I use Windows 11. I started the GUI version (3.50) of Launch4j. I tried to make as few changes as possible. I ended up with the ...
Robert Allan Schwartz's user avatar
0 votes
0 answers
32 views

Java Swing Application - Lauch4j version error

I am making a Java Application using Java Swing and Jframe with a external video library . I am using window 11 JDK 19.0.2 . I want to create standalone application I tried using Launch4j but it is ...
Park Yani's user avatar

15 30 50 per page
1
2 3 4 5
27