If I have to deploy Ktor Rest APIs using SQLite DB...
# ktor
d
If I have to deploy Ktor Rest APIs using SQLite DB, so I need JRE or Server JRE to be installed on my server? And which version of JRE?
a
It depends on a particular module. Some modules require JRE 1.7 and others JRE 1.8. There is a Java client engine that requires JRE 11. You can safely use JRE 11 or JRE 1.8 (if you don't plan to use the Java engine).
d
My server starts like this, does that mean I'm using
Java Engine
?
Copy code
embeddedServer(Netty, port = 8080, host = "0.0.0.0") {
	configureContentNegotiation()
	configureRouting()
}.start(wait = true)
Also I was looking to download JRE all I can find is 1.8 but not 11/16/17 JREs And what's the difference between Normal JRE and Server JRE?
a
My server starts like this, does that mean I'm using 
Java Engine
 ?
No, it's for an HTTP client https://ktor.io/docs/http-client-engines.html#java
👍 1
Here is the description of a difference between those two https://stackoverflow.com/a/33407476/13963150
d
So I guess Server JRE should be good for Ktor, right?
a
Yes, I think.
👍 1
d
Thanks a lot
One last thing, where can I get JRE 11? 😅 At this link only JRE 8 is available, all other versions have JDK only. Any idea about that?
a
d
Now I'll have to read and understand about new topic
jlink
😅 Anyways, thanks a lot @Aleksei Tirman [JB] sir for your time