Have to ask again. Someone thought it was a duplicate question and already answered and removed it from the list.
I\'m using maven (mvn) batch command with windows (not
a more ez way to fix this problem: 1.go to download Corretto OpenJDK published by Amazon 2.install it according to its guide. 3.set to use this Java DK.
problem fixed in my Ubuntu 18.