Uploaded image for project: 'Lucene - Core'
  1. Lucene - Core
  2. LUCENE-9077 Gradle build
  3. LUCENE-9382

Lucene's gradle version can't cope with Java 14

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 9.0
    • None
    • None
    • New

    Description

      If you have JDK 14 installed as your default java, then attempting to use gradle within the lucene-solr project can result in errors, particularly if you have other projects that use more recent gradle versions on the same machine.

      ```
      java.lang.NoClassDefFoundError: Could not initialize class org.codehaus.groovy.vmplugin.v7.Java7
      at org.codehaus.groovy.vmplugin.VMPluginFactory.<clinit>(VMPluginFactory.java:43)
      at org.codehaus.groovy.reflection.GroovyClassValueFactory.<clinit>(GroovyClassValueFactory.java:35)
      ```

      Attachments

        Issue Links

          Activity

            People

              dweiss Dawid Weiss
              romseygeek Alan Woodward
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m