The game crashes without being launched or during launch.
I have tried uninstalling and reinstalling, but nothing seems to work.
It used to be able to launch every few tries a year ago, but now it doesnt launch at all.
There isnt a crash-report file.
Related issues
Attachments
Comments

Hi there!
Could you answer few questions regarding this issue, it will help with the investigation:
Have you tried to install older Launcher from the minecraft.net website?
Are you logged in in both Xbox app, MS store, and Launcher with the same MS account?
Have you tried signing out of all your Windows Apps, and the signing in again?
Is your Windows and associated apps (Xbox app, MS store) up-to-date?
Have you tried booting Launcher in Beta? (can be found in General Settings tab)
Have you tried launching it from MS store?
Have you tried to re-registering MS store as written here?
Have you tried installing it on a different drive?
This ticket will automatically reopen when you reply.

I have just tried everything, It seems to not work with both launchers, with the same exit-code.
Hi again!
Have you tried changing your Java's game directory?
Are you using mods or custom JVM arguments?
Also please try to re-install java program.
Also please try to reinstall the launcher with deleting .minecraft folder before uninstalling the application (coping .minecraft folder elsewhere beforehand)
This ticket will automatically reopen when you reply.

im not sure what the JAVA directory is,
did reinstalling along with deleting .minecraft folder.
this is the new launch log from just installing it without running it, thers some errors with cpp, not sure it helps.
thanks
[media]Thank you for your report!
We're actually already tracking this issue at MC-20220, so I will resolve and link this ticket as a duplicate.
I suggest also to browse through the main issue for potential fixes.
Please also try to change Java's game directory (New Installation/Edit installation in 'Installations' tab, and choose 'browse' in 'Game directory').
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki