I recommend that you use SDKMAN: sdkman.io/install
This is a tool that manages JAVA_HOME and Java versions for you. It's especially handy when your working with multiple projects in different phases of their lives.
I simply run sdk use java 1.15.xyz-zulu or whichever OpenJDK build I choose to use and I'm sorted.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I recommend that you use SDKMAN: sdkman.io/install
This is a tool that manages JAVA_HOME and Java versions for you. It's especially handy when your working with multiple projects in different phases of their lives.
I simply run
sdk use java 1.15.xyz-zulu
or whichever OpenJDK build I choose to use and I'm sorted.