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

Auto detect JAVA_HOME in bin\start.cmd

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.10.2
    • 4.10.3, 5.0
    • scripts and tools
    • None
    • Windows

    Description

      The start script requires JAVA_HOME to be set.

      The Java installer on Windows does not set JAVA_HOME, so it is an obstacle for new users who wants to test. What the installer does is to set some registry values, and we can detect those to find a JAVA_HOME to use. It will give a better user experience.

      Attachments

        Activity

          People

            thelabdude Timothy Potter
            janhoy Jan Høydahl
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: