Error occurred during initialization of VM Could not reserve enough space for object heap Could not create the Java virtual machine

后端 未结 8 1866
轻奢々
轻奢々 2020-12-25 09:04

I am facing this problem since more than a month, here is what I see when I run java on command line:

$ java -Xmx1300m 
Error occurred during initialization          


        
8条回答
  •  有刺的猬
    2020-12-25 09:43

    If your computer is a 64bit, all you need to do is uninstall your Java x86 version and install a 64bit version. I had the same problem and this worked. Nothing further needs to be done.

提交回复
热议问题