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

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?

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 20 (9 by maintainers)

Commits related to this issue

Most upvoted comments

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