If Method 1 does not work, you can try this method
Note: If it still does not work after modifying the environment variables, please restart the system