Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-10184

bin/solr fails to run on java9 due to unrecognized GC logging options

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.5, 7.0
    • scripts and tools

    Description

      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.
      

      (untested) workaround is to override GC_LOG_OPTS in solr.in.sh

      Attachments

        1. SOLR-10184.patch
          5 kB
          Chris M. Hostetter

        Issue Links

          Activity

            People

              hossman Chris M. Hostetter
              hossman Chris M. Hostetter
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: