I recently encountered a problem with flutter doctor showing me an error but I didn't have this problem before it says "Unable to find bundled Java version" and nothing of the changes I could make was useful . I install on the advice of some java on my machine but the error still appears.
How to deal with this problem?