question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`%1 is not a valid Win32 application` when running with WSL backend

See original GitHub issue

22:37 Error running 'AnalyzerTest: basic test': Cannot run program "\\wsl$\Arch\home\noah\.cache\coursier\jvm\adopt@1.11.0-11\bin\java" (in directory "\\wsl$\Arch\home\noah\Sourcegraph\lsif-kotlin\semanticdb-kotlinc"): CreateProcess error=193, %1 is not a valid Win32 application

Repro repo can be found here, with the particular test file located here. Gradle is configured to use the Java distribution in WSL.

Let me know if you need any more specific information 🙂

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
buzoherbertcommented, Jan 21, 2022

I have the same issue, does anyone know if there is a fix for using this plugin and WSL?

0reactions
DragonStringcommented, Sep 25, 2022

Hello, I have got the same issue too…

Read more comments on GitHub >

github_iconTop Results From Across the Web

WSL: "`make` is not a valid Win32 application" when invoking ...
Information : When I run any Makefile function directly in the terminal of PhpStorm, all works perfectly. Environement : Settings > Build Tools...
Read more >
Error: bcrypt_lib.node is not a valid Win32 application
I have a nodejs project on my windows machine. Where upon attempting to run the project this error appears involving bcrypt ...
Read more >
Troubleshooting Windows Subsystem for Linux | Microsoft Learn
Provides detailed information about common errors and issues people run into while running Linux on the Windows Subsystem for Linux.
Read more >
Executing Linux programs (WSL) from Windows environment
I would not try and run Linux programs from WSL inside of a Windows program; you're going to need Win32 apps, not WSL...
Read more >
How to Fix Not a Valid win32 Application Error - YouTube
How to Fix Not a Valid win32 Application Error.Corrupt program files, hardware and software incompatibility and viruses are likely causes ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found