Issue
I have JDK-11 In my system. Can I use more than JDK-11 in the Maven project? If yes then how? I have tested but got the error:
Solution
No, the version you want to use in Maven should be installed in your system. However, if there is another project in your system which uses java 11 and consequently you do not want to uninstall java 11, there are ways to install multiple versions of java in a system.
Answered By - Sailesh Kumar Shaw