So I have this issue, I have java 1.8.0 but it requires at least 16? Does anyone know what the issue is? It seems self-explanatory, but updating java to the latest does nothing. Do I need to downgrade to an earlier version?
Neither workedchange your java home, or just change the bat to run with java 16
The issue is infact your java home if you already have it installed, you can install some bats off of the internet and install them globally so you can run code in a command prompt to change your java version whenever you need to. If it doesn't work, you might need to restart your computer.Neither worked
I've already restarted my computer, that's the first thing I did after updating my Java. Unsure what you mean by installing it globally though, I changed the install location of Java already and that didn't work either. Though I doubt that's what you meant. I was DM'd by someone else to do that, and it didn't work so shrugThe issue is infact your java home if you already have it installed, you can install some bats off of the internet and install them globally so you can run code in a command prompt to change your java version whenever you need to. If it doesn't work, you might need to restart your computer.
What do your environment variables look like?I've already restarted my computer, that's the first thing I did after updating my Java. Unsure what you mean by installing it globally though, I changed the install location of Java already and that didn't work either. Though I doubt that's what you meant. I was DM'd by someone else to do that, and it didn't work so shrug
I assume you mean these;What do your environment variables look like?
Then explain?Oh no, those aren’t your environment variables. That’s your Java paths, I wouldn’t mess with those.
Oh no, those aren’t your environment variables. That’s your Java paths, I wouldn’t mess with those.
Search 'environment variables' then go to your system setting and look for 'JAVA_HOME' in System variables, and if it doesn't exist create one with the path to your JDK. If it does exist, just edit the path.
Search 'environment variables' then go to your system setting and look for 'JAVA_HOME' in System variables, and if it doesn't exist create one with the path to your JDK. If it does exist, just edit the path.
