UPDATE: Video for 1.19: • How to fix JNI error on 1.19 Minecraf...
As 1.18/1.19 was released, it requires you to have Java 17. If you follow the links it should still get you to the updated version.
-----------LINKS-----------
Java 16/17
https://www.oracle.com/java/technolog...
1.17/1.18 Server file:
https://www.minecraft.net/en-us/downl...
please subscribe and like.