Java virtual machine never updating
So im trying to compile a jar file and it continues to say
'Dependency requires at least JVM runtime version 21. This build uses a Java 17 JVM.'
when i check my build, it states -
'java version "25.0.3" 2026-04-21 LTS, Java(TM) SE Runtime Environment (build 25.0.3+9-LTS-195), Java HotSpot(TM) 64-Bit Server VM (build 25.0.3+9-LTS-195, mixed mode, sharing)'
please help! i need this done by tonight and it's just now screwing me over. i've tried everything, switching from powershell, intellij, visual code, github, nothing is workingg even when i try to switch the SDK in both gradle and the actual thing
u/AppointmentOk3316 — 3 days ago