Error in installation - error while trying to create a new sketch

I’m trying run processing, but the program doesn’t open. Attached the picture with the errors that occurs.


I’m using it at Windows 10.
I try to use Processing 4.0.1 and 3.5.4, installed in Program Files and in Documents, with Java version 8 updates 301 and 341.

Please, could anyone help me?

Hi @Melchiors,

Welcome to the forum! :wink:

It seems that it’s a permission error with the Temp or processing folder. You can try taking ownership of the folder:

I doesn’t work every time you try to run the sketch?

Also can you try running this piece of code:

import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;

try {
  Path tmpDir = Files.createTempDirectory("tmpDir");
  System.out.println(tmpDir.toString());
  Files.delete(tmpDir);
}
catch (IOException e) {
  e.printStackTrace();
}

(it should create a temporary file and print it’s path)

From:

1 Like