How do Java programs not require a JRE?

I had a new installation and before installing Java I managed to start NetBeans and OpenOffice. If these programs were written in Java, how is this possible? I know that there are several converters .classto .exe, but I thought it hacks (not suitable for large applications that are deployed all over the world). What is the general approach to deploying a Java application without a JRE? Is there a standard or most common way?

At first I thought it was due to Jar files, but from what I am blushing, an existing Java installation is required to execute them.

+4
source share
2 answers

Java JRE. NetBeans OpenOffice.

Java JRE, . , JRE, , .

+2

: , .

JRE - Java (, , ). , Java . , , gcj, , , Java 5 .

Java JRE, .

, Oracle SQL Developer JRE . Netbeans , JDK (JRE , ), JDK Netbeans.

Java ( Java Web Start ..): java- , script, , , "",.

, . PJ Fanning , . JRE java- .

, , ( , , , Java), JRE, .

0

Source: https://habr.com/ru/post/1666114/


All Articles