I am using IntelliJ IDEA for programming with Gradle on Linux. The problem is, IntelliJ (for some reason) could not detect my Gradle I downloaded myself (version 7.4), so it tried to download one itself (version 7.1) and I couln't stop it. I tried tweaking around a bit and in the end IntelliJ decided it needed one more version, the one it downloaded earlier wasn't enough, so it downloaded version 7.2. After a while I managed to command IntelliJ to use the Gradle I downloaded, but now I am left with two Gradles I don't want to use (versions 7.1 and 7.2). How can I delete them?
Also, IntelliJ downloaded a JDK when I already had one (same story), and it just occupies space. Is there any way to delete it as well?
I can't find any files for neither of them.