For the past 2 days i have been trying to get my brothers minecraft launcher to launch minecraft but **it keeps giving me the JVM error "A Java exception has occurred."**when trying to launch the game in 1.19. When typing "Java --version" into CMD I get the java version so I am guessing that this problem is from the Java Virtual Machine itself. Here is a list of things that I tried:
- I have increased the memory allocation of Java in my Advanced System Settings.
- I reinstalled Java twice
- I reinstalled Minecraft a couple of times
- I tried to change the path in Advanced System Settings
- I ran Java as Admin to no avail
-I have installed both Java 8 and Java 19 - Launching Minecraft in 1.12 doesn't even show me a JVM window it just tells me "Exit Code:1" in the Minecraft Launcher
I couldn't find anything on the internet and I wasn't able to find any crash logs when i tried to look for it to actually try to fix the issue. Does anyone have any solutions I can try? I know that this question isn't really about Java coding but i've asked everywhere and nobody was able to help me. Any kind of help is appreciated.
(Note: my OS is the latest version of Windows 11.)