There are stand-alone programs which can be executed e.g. under Windows, of which the developers state that they wrote the program "using the Java programming language". I am not a Software developer or a programmer, but through some basic programming courses in school and at university I was taught that Java Programms can only be run in a Java Runtime Environment (JRE).
So what I am asking is: how can I run these programs written in Java on my computer, without having any JRE?
A follow-up question would be: How is this step technically performed, to create such a program that does not need a JRE for running from Java code?
Please note: I am not questioning the concept of the JRE as a whole. It does make sence to me to use this concept, to have platform independent programs by using a runtime environment. My question solely is about how is this stand-alone solution made possible, not about its convenience, or its meaningfulness. It is obviously done for whatever reasons, and I want to know how.