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.

CreateProcess error=206, The filename or extension is too long (when packaging AIR app for Windows)

See original GitHub issue

Hi, I’m getting this error when trying to create a windows package (captive runtime)

Failed to execute Adobe AIR Packager: Cannot run program "C:\java\bin\java" (in directory "c:\Users\cgascons\workspace_AIR\WW2\_steam"): CreateProcess error=206, The filename or extension is too long
The terminal process terminated with exit code: 1

At first I had my Java path somewhere else so I changed it to c/ but I’m still getting the error, I don’t believe the workspace path is that long, is there anyway to fix this?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:20 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
cgasconscommented, Oct 19, 2020

That worked like a charm Josh, thank you very much!

0reactions
cgasconscommented, Oct 14, 2020

Thank you very much for looking into this, please let me know if you need me to do or test anything

Read more comments on GitHub >

github_iconTop Results From Across the Web

CreateProcess error=206, The filename or extension is too ...
I want to understand whether C:\Program Files (x86)\Java\jre6\bin\javaw.exe is long or the other one C:\Users\motiver\helios_workspace\TimeTracker . I'm also ...
Read more >
Windows filename or extension is too long
I am running on Windows, and when executing mvn spring-boot:run, I get the error: `CreateProcess error=206, The filename or extension is too ......
Read more >
Solved: Getting error CreateProcess error=206, The filenam...
Solved: When i am trying to build this on windows bamboo agent it keeps ... CreateProcess error=206, The filename or extension is too...
Read more >
NetBeans on Windows 10 - Error "CreateProcess error=206 ...
I am running NetBeans on Windows, and hit the limitation. ... 10 - Error "CreateProcess error=206, The filename or extension is too long"....
Read more >
Tool for reverse engineering apk files | Page 189 - XDA Forums
my pc? it's already updated and it has nothing to do with Apktool i think ... CreateProcess error=206, The filename or extension is...
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