Is it possible to embed the JVM in desktop app?

I do not want to force users to run large desktop applications to install Java. So wondering, is it possible to extend the JVM with the program (whether it's a license to Oracle)?
June 14th 19 at 20:29
3 answers
June 14th 19 at 20:31
Solution
It is possible to add in the installer phase of the installation of the JRE. The license isn't restricted.
June 14th 19 at 20:33
Solution
there is a utility launch4j. With it you can make *.exe file and the application folder to put the required jre, and configuration file generation *.exe specify the name of the directory that jre is relative to the executable. All. Jre installation is not required, only need its presence in the folder with the executable.
June 14th 19 at 20:35
Solution
There is a regular mechanism, called self containing application.

Find more questions by tags JavaJVM