Compiled please not the source cos I have a problem with Eclipse but thanks for try
Remove every version of java you have.
Clean variables path from any other version of java
Add the new JAVA_HOME to point on jdk12/bin
Add the new jdk12 to path
If still it doesn't work .. get out of here