How Eclipse shows the startup interface so fast

Java programs start slowly.

I am programming software for JavaFX. When I double-click the executable jar, it costs about 5 seconds to show the window. I think the JVM spends a little time loading the class.

But when I open Eclipse, the GUI of execution is displayed immediately. How can i do this like eclipse? Does it use other technologies to display a GUI without a JVM?

+4
source share
2 answers

The eclipse executable is actually a small C program (source code here ).

eclipse.ini, , , JVM , eclipse.ini, Java Eclipse. , JVM Java .

Java- , , .

RCP Eclipse, RCP .

+6

: ""?!

: . , AWT. , : java (. ). .

, Java: Swing. , ; "". . 15 ( SSD), 3 100%. : , AWT-. , " ", , 3, 5 .

, , "" . , .

( , " " " " " "... " " , , , ; -)

+2

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


All Articles