I am using Arduino Mega 2560 R3, running on Windows 8 Pro 64bits.
Every time I want to open the Arduino 1.0.5, it will take time and in the end the popup error of "Launch4j - An error occurred while starting the application." showed.
I have tried some suggestions from this forum such as editing the preferences.txt, using a.cmd, install/reinstall, but the same issue still occurred.
So, anyone have any possible solutions to solve this issue? =(
I had the same error at startup and I closed my bluetooth program (IVT BlueSoleil) that run in the background for a normal running of Arduino, you must see a movie with screenshot: arduino1.0.5 windows7- error at startup - YouTube
I am using Arduino Mega 2560 R3, running on Windows 8 Pro 64bits.
Every time I want to open the Arduino 1.0.5, it will take time and in the end the popup error of "Launch4j - An error occurred while starting the application." showed.
I have tried some suggestions from this forum such as editing the preferences.txt, using a.cmd, install/reinstall, but the same issue still occurred.
So, anyone have any possible solutions to solve this issue? =(
Same here on Win7 x64 - takes a lot of time to start and after that an error message shows up: Launch4j - An error occurred while starting the application.
Here is my log but nothing obvious:
CmdLine: D:\Projects\Arduino\arduino.exe --l4j-debug
WOW64: yes
Working dir: D:\Projects\Arduino.
Bundled JRE: java
Check launcher: D:\Projects\Arduino\java\bin\javaw.exe (OK)
Add classpath: lib\pde.jar
Add classpath: lib\core.jar
Add classpath: lib\jna.jar
Add classpath: lib\ecj.jar
Add classpath: lib\RXTXcomm.jar
Launcher: D:\Projects\Arduino\java\bin\javaw.exe
Launcher args: -Xms128m -Xmx128m -classpath "lib;D:\Projects\Arduino\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
Args length: 159/32768 chars
Any ideas?
[UPDATE1]I tried every suggestion above and in the other posts. Installing 1.5.2 does not fix it either.
Is there a way to enable the log in more verbose mode where I can actually see what the problem is?
[UPDATE2]
So when I delete the \Documents\Arduino\libraries folder it runs once after that and it runs ok. If I close and open that IDE after that it comes bask to the old problem and I have to delete the folder again so it can work .Very weird!
[SOLUTION] I had Sierra Wireless Application Interface on Com4. I was not using it, it's just a driver for the Sierra Wireless I had before. After disabling it it all works smoothly. So any Com ports can cause some issues, in my case was this one.
One more problem is my tools option does not work properly.I have to click on tools and wait for 2-3 minutes for tools dropdown menu to appear.Any suggestions?
"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."
I am also seeing the same Launch4j error and it is happening on two different machines. I noticed that I only see it the first time I launch the Arduino IDE. Subsequent launches of the IDE do not give an error until I reboot, then I get an error again.
I just loaded version 1.5.4-r2 of the IDE. It asks for java permissions at launch. It does not give an error. I did nothing else to the java environment. It work on an old machine running xp and a windows 7 machine.