Solution for 'An error occurred while starting the application'

What I did:

  1. Connected Arduino Uno V3 to my laptop(Win10 , 64bit system) via USB
  2. automatically downloaded the driver successfully
  3. downloaded ARDUINO 1.6.12 IDE( from https://www.arduino.cc/en/Main/Software) and installed
  4. when I wanted to enter the IED, error message popped out: 'An error occurred while starting the application'

Please kindly suggest how to tackle this.

Thanks & Regards,
LDONGDER

Not too much to go on but here goes

Make sure your anti virus / anti malware exclusions are set to leave the Arduino software locations alone.

Make sure there is an exclusion in your firewall for the IDE.

Make sure you are using USB 2.0 ports wherever possible and not USB 3.0 (or at least a powered USB 2.0 hub between the USB 3.0 and the Arduino)

Make sure you have the correct privileges to install and run the program ( google "run as administrator" )

Check your system logs for any errors as they can be useful as to why something crashed early like that.

You could try running arduino_debug from the command line to see if that will provide any useful output. Please copy and paste the output here using code tags(</> button on the toolbar).

Thanks , not sure how to do it your way , but I run the 'arduino_debug.exe' and here is the result from the black box:

Exception in thread "main" java.lang.Error: Failed to create temporary file for jnidispatch library: java.io.IOException: The system cannot find the path specified
at com.sun.jna.Native.loadNativeLibrary(Native.java:503)
at com.sun.jna.Native.(Native.java:91)
at processing.app.windows.Platform.(Platform.java:287)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:260)
at processing.app.BaseNoGui.initPlatform(BaseNoGui.java:601)
at processing.app.Base.initPlatform(Base.java:177)
at processing.app.Base.main(Base.java:91)

Ballscrewbob:
Not too much to go on but here goes

Make sure your anti virus / anti malware exclusions are set to leave the Arduino software locations alone.

Make sure there is an exclusion in your firewall for the IDE.

Make sure you are using USB 2.0 ports wherever possible and not USB 3.0 (or at least a powered USB 2.0 hub between the USB 3.0 and the Arduino)

Make sure you have the correct privileges to install and run the program ( google "run as administrator" )

Check your system logs for any errors as they can be useful as to why something crashed early like that.

I thinks there's something wrong with the USB port, because I tried on my desktop, the IDE works well, the only thing I know which may make a difference is the port, I am sure my desktop has USB 2.0 port, but how to check if my desktop has 2.0 port or not, because there are no differences between their appearances.

If you look in the USB port USB 3.0 usually have a BLUE plastic tab compared to USB 2.0 which can be white or black.

Check the specifications for your model of computer, motherboard or laptop is the most reliable method

Other method which is to check in Device Manager under windows and expand the section for "Universal Serial Bus Controllers" and see if there is anything for USB 3.0 ROOT or HUB.