Fab
Fab

Reputation: 1564

How to make an .exe and an .app from a JavaFX 11 application using Netbeans

I have a javaFx application developed with:

Following the javaFX 11 instructions (here) I have created a self contained app.

Unfortunately, to start the app a long command is required. Something like this:

dist/jlink/HelloFX/bin/java -m hellofx/org.openjfx.MainApp

This is not the best option for the end users.

My question is:

I was not able to find any updated directions for that.

Thank you.

Upvotes: 4

Views: 4554

Answers (1)

MIR
MIR

Reputation: 31

Compile the executable JAR file, and then use a tool to convert it to EXE.

There are few ways of doing that:

Launch4j is one of them

Another option can be Jar2Exe

Upvotes: 1

Related Questions