Launching lib/main.dart on sdk gphone64 x86 64 in debug mode...
ERROR: JAVA_HOME is set to an invalid directory: /usr/lib/jvm/java-21-openjdk/
Please set the JAVA_HOME variable in your environment to match the.
location of your Java installation.
Error: Gradle task assembleDebug failed with exit code 1
Exited (1).