This question has already been answered:

In general, I want to make my application run on a computer where nothing is installed. For the program to work on (clean) windows in general, and not to require the user to install additional software.

Reported as a duplicate member of PashaPash 14 May '18 at 22:11 .

A similar question was asked earlier and an answer has already been received. If the answers provided are not exhaustive, please ask a new question .

2 answers 2

hands you can make a batch file and the application will not require java installed, but you need to put jre

like this:

folder structure:

[application share]
├ [jre folder]
├ [jar folder]
└start.bat

bat file code:

[папка с jre]\bin\java -jar [папка с jar]\MyJar.jar 

You can also compile the javafx application in the intellij idea idea into a running exe

    Use the utility https://www.excelsiorjet.com/# This is quite a handy program that will allow you to create an installer for your application, and allow you to run it without jre, ext. libraries, etc. on the computer. There are a couple extra. chips, like reverse engineering, etc. Available trial version for 30 days.