When you run Flutter Doctor and have not setup JAVA HOME and PATH properly, you may encounter the "Could Not Determine Java Version" problem on Linux. In this video, I show a simple way how to fix this.
...
https://www.youtube.com/watch?v=dyvlE1jkIy4