0
   

How do I fix the "Could not create the Java Virtual Machine" error?

 
 
Reply Thu 30 May, 2019 07:30 pm
When I try to open Minecraft, I get the a popup that (The parts in parenthises arent on there) says:

(Title) Java Virtual Machine Launcher

(The text) Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

It has "OK" and it closes the game (The game does not open, but it does open the Java icon on the toolbar)

After that, the Minecraft launchers crash thing comes up.

I have tried going to Environment Variables and changing _JAVA_OPTIONS into the variable name and then putting –Xmx512M into the variable value (I have tried different numbers for –Xmx512(<-- Here)M).

I did not have this problem before today, it is the first time ever for me. I was having lag spikes in the game, so I added the _JAVA_OPTIONS and put in –Xmx512M (different number) and 8192 after it (1GB of RAM is 1024MB of RAM so 1024 x 8 = 8192 for 8gb of RAM). Then after about 1 hour of playing, I closed Minecraft. When I reopened it, it gave the error for the first time.

(Time Line)

/\ PAST

| Play Minecraft

| Notice lag

| Find tutorial that shows _JAVA_OPTIONS and –Xmx512(Different number on the tutorial)M

| (I did not close the game when I did this)

| Played for a bit and then closed the game.

| Tried opening it later (Not even 5 minutes)

| Got error

| Tried different thing (changing the number in –Xmx512M, reopening Minecraft)

\/ FUTURE

I am using Windows 10

Minecraft 1.12.2 (Latest launcher)

Other apps (Steam, Opera Internet Browser, File Explorer, sothers) are working

I deleted the Java 8 update 101, but it still happens.



Crash log (Opens from launcher)

20:21:19launchermaininfoPreparing to launch minecraft client for 1.12.2

20:21:19launchermaininfoChecking installations.

20:21:19launchermaininfoMinecraft client 1.12.2 is ready to start.

20:21:19launchermaininfoStarting!

20:21:19launchermaininfoUsing default game log configuration client-1.12.xml (outputs XML)

20:21:21launchermaininfoPicked up _JAVA_OPTIONS: ?Xmx512M Unrecognized option: ?Xmx512M

20:21:21monitorProcess MonitorfatalProcess crashed with exit code 1





Other versions dont work either (I treid 1.12.2, 1.13.2, 1.14.2, 1.11.2 (When I did 1.1.2, the log doesnt have any fatal warning or other warnings sometimes. (Game doesnt open still) ->

5 infos3724 debugs

20:23:56launchermaininfoPreparing to launch minecraft client for 1.11.220:23:56launchermaininfoChecking installations.20:23:56launchermaininfoMinecraft client 1.11.2 is ready to start.20:23:56launchermaininfoStarting!20:23:57launchermaininfoUsing default game log configuration client-1.7.xml (outputs XML)



))

Please help!
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Question • Score: 0 • Views: 1,114 • Replies: 0
No top replies

 
 

Related Topics

 
  1. Forums
  2. » How do I fix the "Could not create the Java Virtual Machine" error?
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/25/2024 at 09:45:44