Error installing gems (> invalid source release: 11)

Task :downloadPreviousJRuby UP-TO-DATE

Task :downloadJRuby UP-TO-DATE
Download jruby-dist-9.3.10.0-bin.tar.gz

Task :benchmark-cli:compileJava FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':benchmark-cli:compileJava'.

invalid source release: 11

  • Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.

  • Get more help at

BUILD FAILED in 1m 3s
11 actionable tasks: 2 executed, 9 up-to-date

Hi @balakr,

Can you share a bit more information about what you're trying to do? I 'm guessing that you are trying to build @elastic/logstash?

i was missing the java path. setting the java path resolve this issue

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.