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

Auto detect JAVA_HOME in bin\start.cmd

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.10.2
    • Fix Version/s: 4.10.3, 5.0
    • Component/s: scripts and tools
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: