[HELP] Launch4j - An error occurred while starting the application.

smokin_cannon:
per http://www.ultratechnet.com/2013/01/arduino-problem-invalid-window-handle.html

"SOLUTION:
All you have to do is rename/delete(whatever you prefer) the "java" folder in the Arduino package and copy-paste the java runtime environment located in the program files folder. This is pretty simple hack which came to my mind while just trying to fix the problem. I hope this "technique" works with you.

Active Bluetooth device also seemed to be a probable cause for the problem, also responsible for slow behavior of the arduino IDE. Turn off the bluetooth device of your laptop, i.e disable the network and try again launching the application."

Worked for me.

Yes. This worked for me:-)

How-To:

  1. Goto to your Arduino install directory and rename the C:\Program Files (x86)\Arduino"java" folder to "java.bak".
  2. Copy the java folder (C:\Program Files (x86)\Java\jre7) to your Arduino install directory (C:\Program Files (x86)\Arduino\jre7) and rename it to C:\Program Files (x86)\Arduino"java".

Windows 8.1 Enterprise 64bit
Arduino IDE 1.6.1
Java SE Runetime Environment 7