[
https://issues.apache.org/jira/browse/SOLR-10184?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15877794#comment-15877794
]
Uwe Schindler commented on SOLR-10184:
--------------------------------------
See https://bugs.openjdk.java.net/browse/JDK-8170636 about this. But this is
work in progress, as far as I see. Maybe it changes until final release. But we
should update all the start scripts to use the new {{-Xlog}} options instead of
the old ones, if Java 9 was detected.
> bin/solr fails to run on java9 due to unrecognized GC options
> -------------------------------------------------------------
>
> Key: SOLR-10184
> URL: https://issues.apache.org/jira/browse/SOLR-10184
> Project: Solr
> Issue Type: Bug
> Security Level: Public(Default Security Level. Issues are Public)
> Components: scripts and tools
> Reporter: Hoss Man
> Labels: java9
>
> {noformat}
> hossman@tray:~/lucene/dev/solr [master] $ bin/solr start -f
> Java HotSpot(TM) 64-Bit Server VM warning: Option UseConcMarkSweepGC was
> deprecated in version 9.0 and will likely be removed in a future release.
> Java HotSpot(TM) 64-Bit Server VM warning: Option UseParNewGC was deprecated
> in version 9.0 and will likely be removed in a future release.
> Unrecognized VM option 'PrintHeapAtGC'
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.
> {noformat}
> (untested) workaround is to override GC_LOG_OPTS in {{solr.in.sh}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]