Ok, it work. I just don't understand why the Microsoft (Mojang) web site give a link to Java 8 (latest version).
The official documentation is faulty.
got a link for Win10 ?
Do I need x86 or x64 version ?
I forgot to mention, my command line for server as I tried it is:
java -Xmx2048M -Xms2048M -jar minecraft_server.1.19.2.jar
Ok, it work. I just don't understand why the Microsoft (Mojang) web site give a link to Java 8 (latest version).
The official documentation is faulty.