管理者として実行した コマンドプロンプトで,次のコマンドを実行.
call powershell -command "[System.Environment]::SetEnvironmentVariable(\"GRADLE_PATH\", \"C:\gradle-6.3\", \"Machine\")"
管理者として実行した コマンドプロンプトで,次のコマンドを実行.
call powershell -command "$oldpath = [System.Environment]::GetEnvironmentVariable(\"Path\", \"Machine\"); $oldpath += \";C:\gradle-6.3\bin\"; [System.Environment]::SetEnvironmentVariable(\"Path\", $oldpath, \"Machine\")"
コマンドプロンプトを開き,次のコマンドを実行.
gradle
終了の確認.エラーメッセージが出ていないこと.