Check the JVM version (java -version), it sounds like you have an older JVM 
that es-l is expecting which doesn’t support the new parallel garbage 
collector. Or maybe it’s new and that flag was rolled into the GC: prefix of 
JVM args. Either way it sounds like a mismatch between the version of Java your 
software is expecting and the version you have installed.

At least on Ubuntu you can toggle between Java versions with the 
update-alternatives command.

> On Dec 25, 2019, at 10:37 PM, fugee ohu <[email protected]> wrote:
> 
> 
> My laptop is weak and can't handle elasticsearch no matter what I set the 
> heap size to in jvm.options (jvm is java virtual machine) so I'm trying to 
> use elasticsearch-lite but I get the error Unrecognized VM option 
> 'UseParNewGC'
> Error: Could not create the Java Virtual Machine.
> -- 
> -- 
> You received this message because you are subscribed to the Linux Users Group.
> To post a message, send email to [email protected]
> To unsubscribe, send email to [email protected]
> For more options, visit our group at 
> http://groups.google.com/group/linuxusersgroup
> References can be found at: http://goo.gl/anqri
> Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
> --- 
> You received this message because you are subscribed to the Google Groups 
> "Linux Users Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/linuxusersgroup/0f44afcc-4a4a-4cf5-98cd-1369859eac3b%40googlegroups.com.

-- 
-- 
You received this message because you are subscribed to the Linux Users Group.
To post a message, send email to [email protected]
To unsubscribe, send email to [email protected]
For more options, visit our group at 
http://groups.google.com/group/linuxusersgroup
References can be found at: http://goo.gl/anqri
Please remember to abide by our list rules (http://tinyurl.com/LUG-Rules)
--- 
You received this message because you are subscribed to the Google Groups 
"Linux Users Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/linuxusersgroup/7C7609A0-AD40-4081-9F77-533DE9E211A5%40gmail.com.

Reply via email to