Problem even launching minecraft because of java
I have a problem where i cant launch minecraft getting two errors, one saying "Could not find java.dll" and the other right after "could not find java se runtime environment" where it ends with minecrafts exit code 2. Iam desperate to get it running at this point because i feel like ive tried everything from reinstalling java to using third party apps to install it.
Commentaires
* Downvote this comment if this post is poor quality or does not fit the purpose of r/Minecraft
* Downvote this comment *and report the post* if it breaks the [rules](https://www.reddit.com/r/Minecraft/wiki/rules)
----
(*Vote has already ended*)
But you need to specify the location of the javaw.exe file in the launcher if you choose to use a 3rd party JDK such as [Temurin](https://adoptium.net/temurin/releases?version=21&os=any&arch=any). Just installing a JDK on the system doesnt make the game use it automatically.
As a test I purposely poisoned my launcher by providing an invalid path to javaw.exe and the launch failure is logged in the `launcher_log.txt`.
The problem here is that this isn't the requested launcher log that /u/PiPiKyyysAcc provided. It's the `launcher_cef_log.txt` file. The launcher is a Chromium app, so this suggests the problem may have nothing to do with Java and that the Chrome layer is busted, and the launcher proper might not be starting and logging since the below image shows no `launcher_log.txt`. The log provided suggests a rendering problem, possibly related to ffmpeg.