Questions tagged [exe4j]

exe4j is a Java exe maker that helps you integrate your Java applications into the Windows operating environment, whether they are service, GUI or command line applications.

63 questions
1
vote
2 answers

java.lang.InternalError: platform encoding not initialized when running EXE4J .exe w/ Java14 on PATH

So this error is a weird one... I'm using EXE4J 6 to build a .exe file for my JavaFX Application. This has worked with no issues through Java version 13.0.1. I recently upgraded my environment to use Java 14.0.1 and now I get the following…
Steve
  • 981
  • 1
  • 8
  • 22
1
vote
1 answer

Exe created by Exe4j with external libs dependation

We are trying to wrap our jar file with exe4j to exe file. Our jar depends on several jar libraries stored in libs folder. We don't want to distribute jar file, only exe and jar libraries in libs folder. For execution of application we are using own…
Petr
  • 151
  • 6
1
vote
1 answer

EXE4J Jar to exe integrated with jre caused runtime error

I recently wrote a javafx application with external jar files (apache POI), the version of jdk is 10.0.2. I built the javafx project with Intellij's builder. And after that I used the exe4j to convert the jar file to .exe. In this process, I added…
MasonDDD
  • 25
  • 3
1
vote
1 answer

install4j throws error message during install

I'm unable to install anything, which installer is using install4j. I got following error message in text file during install: java.lang.RuntimeException: java.lang.NoClassDefFoundError: com.install4j.runtime.beans.screens.SystemFormScreen at…
plaidshirt
  • 5,189
  • 19
  • 91
  • 181
1
vote
1 answer

Unable to read xml file when using exe4j to package jar into exe

Recently I encountered a problem when using exe4j to package the jar into exe. My xml configuration file is placed in the same directory of the exe, but after the package is completed, the exe will look for the xml file from the temporary…
1
vote
1 answer

How to include libraries when creating .exe from .jar with exe4j

I wrote a Java FX Tool, which connects to an .accdb database and created an executable JAR file from it which works very well. In the same folder of the JAR file, I have several JAR libraries, which I need in order to connect to my database. Now I…
knorrbert
  • 100
  • 9
1
vote
1 answer

After create setup.exe using exe4j file writing prosses not working

I want to create log file and write some text to that file in java .I completed that task.when run jar file this code working well.but after create setup.exe using exe4j file writing process not working.any one know how to do this? this is how I…
Gihan
  • 11
  • 4
1
vote
0 answers

how java GUI application receive parameter?

I have a Java program that has both console and GUI mode.If started without parameters (double click it) it comes up as a GUI program.If at least one argument (by cmd) is passed in, it comes up as command line. Now, I need to convert it to .exe…
TreeCatCat
  • 143
  • 1
  • 1
  • 12
1
vote
0 answers

Add image directories in to EXE file

I’m trying to make an EXE file from my Java application using the exe4j tool. I have successfully built the project JAR file as well as the lib directory. I have created the EXE and its working smoothly. I am creating barcodes & profile photos in my…
Asela Wijesinghe
  • 157
  • 2
  • 13
1
vote
1 answer

How can I increase the memory using exe4J?

when converting a Java Application to an executable using exe4j, I want the exe to use as much memory as I assigned to the Application (1024MB). However, the executable only assigns 248MB and I'd like to know how to change that in exe4j? thx in…
Benjamin
  • 10,603
  • 3
  • 16
  • 28
1
vote
1 answer

install4j: Whitespaces in vm-parameters via vmoptions (OSX service launcher) generating error

We are generating a service launcher for our app. In the vmoptions file we do set a parameter which contains whitespaces (e.g. file path): -Dmy.parameter=my file path This does not seem to work in the service launcher für OSX (but does for…
Robert
  • 41
  • 1
1
vote
0 answers

Search sequence within %APPDATA%

Does anybody know how to use APPDATA in search sequence to locate folder c:\Users\test\AppData\Roaming\jre\ ? I try with %APPDATA%\jre\ and %EXE4J_APPDATA%\jre\ but without luck. Any help would be appreciated ...
1
vote
1 answer

Can you import exe4j script/project into install4j?

Is it possible to import exe4j project into install4j? I have some legacy exe4j projects which I would like to import into install4j project.
Ram
  • 1,225
  • 2
  • 24
  • 48
1
vote
1 answer

Do you need exe4j if you have purchased install4j?

I am evaluating install4j for our java based SCADA application. We seem to have some exe4j scripts in the legacy code, which are used to create .exe files. I noticed install4j also allows similar facility. Do we need to buy both install4j and exe4j…
Ram
  • 1,225
  • 2
  • 24
  • 48
1
vote
1 answer

EXE4j Jar to exe error

I'm recently Java 7 update 21 JDK and i created java application with netbeans For distributing my jar i use Exe4j 4.5.2 Jar to exe. Now when i used Exe4j it creates exe but when i execute it it shows me error message. "The JVM could not be started.…
user2473015
  • 1,392
  • 3
  • 22
  • 47