简体   繁体   中英

How I solve this -> Error: Could not create the Java Virtual Machine

Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit. Unrecognized option: - C:\\Users\\Win 8.1 Pro\\AppData\\Local\\NetBeans\\Cache\\8.1\\executor-snippets\\run.xml:53: Java returned: 1 BUILD FAILED (total time: 0 seconds)

I tried to setting in control panel and not work. I downloaded JRE 1.8.0_191 but I don't really understand to use it... How can I solve this one?

Solutions:1.Check the Java environment

2.Some programs have memory setting and some memory setting is set beyond VM range.

3.Check if java.exejavaw.exejavaws.exe are generated under C:\\Windows\\System32 ,just delete them.

4.Displays the definition parameters in the environment variables to set the VM size. Global environment variable name: _JAVA_OPTIONS

value:-Xmx512m

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM