Zah*_*hah 6 java linux solr java-9
我无法在Java 9上启动solr,导致跟随错误.
[shahid@host172 logs]$ tail -20 solr-8983-console.log
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.
Run Code Online (Sandbox Code Playgroud)
这是切换到统一日志记录系统来记录 GC 相关消息的结果。有相当多的 -XX 选项已经消失,更多细节可以在这里找到:
https://bugs.openjdk.java.net/browse/JDK-8145092
您需要删除 -XX:+PrintHeapAtGC 标志。Solr JIRA 上有一个错误:
https://issues.apache.org/jira/browse/SOLR-10184
| 归档时间: |
|
| 查看次数: |
2269 次 |
| 最近记录: |