set JDK 11 path in AEM 6.5
Iam setting up fresh install of AEM 6.5 in RHEL 8 servers. my question is where do i set the JDK path for the fresh install. I have JDK 8,11,17 on the server and JDK 11 being the default default.
I have read about issues with JDK 11 and I don't want to run the quickstart.jar file, and the look in the logs figure out the issues and make changes to the sling.properties file. what i want to do is first unpack the jar and then go into the sling.properties file and set the properties and then run the start.bat file to start the installation.
now, my question is, if i unpack the quickstart.jar file and then want to set the JDK 11 path, where do i set it? is there a property in sling.properties file that i need to set? any help would be appreciated.
note : the server is clean slate. I installed JDK 8,11,17 myself. i was wondering if i have to set the JAVA_HOME path too? in which case where do i set the JAVA_HOME path? i have root access to the server. If the set the JAVA_HOME path, can i assume AEM automatically takes the JAVA_HOME?