Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Fail to create gem using Windows

Open
#5 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
28/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
build-system

Research direction

Start with the Windows command in the guide and build.gradle at line 12, then inspect how the example reads the LS_HOME environment variable when gradlew.bat runs. Reproduce the gem command on Windows 10 and compare the configured variable with the value visible to Gradle. Done means the documented example builds the gem successfully on Windows.

Written by the indexing model from the issue text.

Description

When following the guide for using the logstash-ouput-java example I get the following error on Windows 10

<path>\logstash-output-java_output_example>gradlew.bat gem

FAILURE: Build failed with an exception.

* Where:
Build file 'C:\Users\TNguy\OneDrive\Documents\Repositories\logstash-output-java_output_example\build.gradle' line: 12

* What went wrong:
A problem occurred evaluating root project 'logstash-output-java_output_example'.
> Could not get unknown property 'LS_HOME' for root project 'logstash-output-java_output_example' of type org.gradle.api.Project.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s

I have already set the LS_HOME environment variable to the path where the logstash code base sits.

Dominant language
Java
Stars
8
Forks
16
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from logstash-plugins/logstash-output-java_output_example

All issues in logstash-plugins/logstash-output-java_output_example

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.