The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
You put the installer in a folder where it does not have write permission, therefore it cannot create its log file.
The 2nd error then looks like whatever server you are running this on has trouble connecting to Mojang's servers. Make sure the internet works correctly.
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).
The version you are using is no longer supported on this forum.
Please update to a modern version of Minecraft to receive support.
Currently supported versions are 1.19 (Latest) and 1.18.2 (LTS).