I currently have JDK 11 installed in my ubuntu system. I want to start react-native development. But I have read that it won't work with any version higher than JDK 8.
So now I would install JDK 8 alongside JDK 11 and set path for it seperately.
So my question is how to command react-native to use JDK 8 only not JDK 11? I couldn't find it anywhere.