390 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
1
vote
0
answers
86
views
How to add 64-bit OS check for Java 17 JavaFX app when packaging with launch4j-maven-plugin?
I'm working on a JavaFX application that requires Java 17+, which only supports 64-bit operating systems. I'm using the launch4j-maven-plugin to create an EXE file, and I need to ensure that when ...
0
votes
1
answer
89
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. ...
0
votes
1
answer
180
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 ...
0
votes
1
answer
8k
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 ...
0
votes
1
answer
76
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 ...
1
vote
1
answer
460
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
user24572580
1
vote
1
answer
315
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 ...
1
vote
0
answers
104
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 ...
0
votes
0
answers
46
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 ...
0
votes
0
answers
73
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: ...
1
vote
1
answer
213
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 ...
0
votes
0
answers
43
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 ...
-2
votes
1
answer
700
views
In Eclipse, how do you create an .exe file of your project
Been stuck on this for 3 days.
My app uses JavaFX and it runs perfectly fine when I press the "Play" button.
I want to create a runnable .exe file. Here is the pom.xml of my project:
<...
1
vote
1
answer
247
views
Create .exe from .jar with gradle
I want to use gradle to create from my code .jar, and then from .jar create .exe. I have a simple Java code
package project;
public class main {
public static void main(String[] args) {
...
1
vote
1
answer
2k
views
"Cannot access defaults field of Properties" when using maven with launch4j build window exe from jar
I have wrote a cmd program of editing excel file by java 17. Then, I want to build it to a windows executable exe file. By reading a post of below, trying to build with maven plug-in shade and ...