The problem is almost certainly to do with your PATH
. As you've checked the Processing path is correct, there may be something preventing it from being recognised (there are some known issues, such as the PATH
variable being too long or having invalid characters).
Solution 1:
Try using FixPath to fix some of the more common problems.
Solution 2:
Try modifying the processing
package itself to point directly to processing-java.exe
(it points to the PATH
variable by default).
- In Atom's
Settings > Packages
, select the processing
package and click on 'View Code'.
- Make a backup of
\lib\processing.coffee
to be safe.
In \lib\processing.coffee
, search for the following code (probably near the top):
module.exports = Processing =
config:
'processing-executable':
type:"string",
default:"processing-java"
Modify the value of default
to point to the exact Processing directory and processing-java.exe
, for example:
module.exports = Processing =
config:
'processing-executable':
type:"string",
default:"c:\\program files\\processing\\processing-java.exe"
As Chris rightly points out in the comments below, backslash \
is an escape character in JavaScript and CoffeeScript, so itself needs to be escaped in the file path (hence the double-backslashes \\
).
processing-java
in the Command Prompt output the same error? - codemacabreprocessing-java.exe
using your entire processing directory path in the Command Prompt? For example, for me:"c:\program files\processing\processing-java.exe"
- codemacabrePATH
. Can you double-check the Processing path you used in the command above is exactly the same as listed in yourPATH
? - codemacabre