It does work just fine. Use cmd or powershell though. I don't think
things are even tested with cygwin/msys.

Dawid

On Tue, Sep 13, 2022 at 4:55 AM Rahul Goswami <rahul196...@gmail.com> wrote:
>
> Hello,
> I am using gitbash to build lucene 9.2.0 on Windows. I checked out the
> release/lucene/9.2.0 tag and tried running "./gradlew help". But it fails.
> Running Java 11.0.4. Somehow building lucene 9x on Windows has never worked
> for me. Had the same issue with 9.0.0 as well.
>
> mypc@mypc MINGW64 /c/work/snap/git/Lucene_9_2/lucene (lucene_9.2_local)
> $* ./gradlew help*
> Downloading gradle-wrapper.jar from
> https://github.com/gradle/gradle/raw/v7.3.3/gradle/wrapper/gradle-wrapper.jar
> To honour the JVM settings for this build a single-use Daemon process will
> be forked. See
> https://docs.gradle.org/7.3.3/userguide/gradle_daemon.html#sec:disabling_the_daemon
> .
> Daemon will be stopped at the end of the build
>
> FAILURE: Build failed with an exception.
>
> * What went wrong:
> A problem occurred configuring root project 'lucene-root'.
> > A problem occurred configuring project ':lucene:misc:native'.
>    > java.lang.NullPointerException (no error message)
>
> * 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 13s
> 2 actionable tasks: 2 executed
>
> mypc@mypc MINGW64 /c/work/snap/git/Lucene_9_2/lucene (lucene_9.2_local)
> $ java -version
> java version "11.0.4" 2019-07-16 LTS
> Java(TM) SE Runtime Environment 18.9 (build 11.0.4+10-LTS)
> Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.4+10-LTS, mixed mode)

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to