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

后端 未结 8 1961
轻奢々
轻奢々 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:41

    This might also occur if you are running on 64-bit Machine with 32-bit JVM (JDK), switch it to 64-bit JVM. Check your (Right Click on My Computer --> Properties) Control Panel\System and Security\System --> Advanced System Settings -->Advanced Tab--> Environment Variables --> JAVA_HOME...

提交回复
热议问题