Can't run Arduino IDE

This goes for 1.8.9 as well as older, like 1.8.2.

Installation works fine, but when I start the IDE I get a dialog saying:

An error occurred while starting the application.
The system cannot find the file specified.

I have the latest JDK installed (12.0.2) and several JREs. I have changed JAVA_HOME to a number of those folders, but that didn't help.

Oddly arduino_debug.exe works.

Thanks in advance.

Please do this:

  • Start the Windows command line “cmd”.
  • Run the program arduino_debug.exe that you will find in the Arduino IDE installation folder from the command line.
  • Copy the output that’s printed to the cmd window and paste it here USING CODE TAGS (</> button on the toolbar).

Hopefully that will give us some information we can use to help you with the problem.

This is what I get.

Loading configuration...
Initializing packages...
Preparing boards...
Starting...

android_debug runs fine, so I currently use that.