I have got the problem with arduino. Opening the program takes 60 - 80 secs, after that the error appears - Launch4j - An error occurred while starting the application.
The aplication is very slow and often freezes.
I watched many fixes, but no one helps me..
Something might be wrong with the combination of Java, Arduino and the Operating system.
What kind of computer are you using ? which Operating System, which Version, 32 or 64-bit ? and which Arduino version ?
Always use the newest Arduino IDE version, that is version 1.0.6. or 1.5.8 BETA.
Do you have Java installed ? Can you remove everything from Java and also the Arduino IDE files (but not your project folder).
A tool JavaRa can remove Java files : http://singularlabs.com/software/javara/
Download the *.zip files for 1.0.6 and 1.5.8. Unzip them somewhere in your home folder and create shortcuts. That way you can choose which version you want to use.
When a fresh new Windows 7 64-bit is installed, I think the Arduino IDE 1.5.8 BETA runs without installing anything else. As far as I remember, it doesn't need extra Java files. Version 1.5.8 BETA has not only improvements for the compiler, but also for the IDE. When version 1.5.8 BETA also has that delay, you are in trouble...
Sometimes, similar issues may be caused by an overly-aggressive antivirus software. Try to disable such software for a quick test (do it while you're offline if you are worried about security).
Always use the newest Arduino IDE version, that is version 1.0.6. or 1.5.8 BETA.
Do you have Java installed ? Can you remove everything from Java and also the Arduino IDE files (but not your project folder).
A tool JavaRa can remove Java files : JavaRa 2.0 Alpha Build Available - SingularLabs
Download the *.zip files for 1.0.6 and 1.5.8. Unzip them somewhere in your home folder and create shortcuts. That way you can choose which version you want to use.
When a fresh new Windows 7 64-bit is installed, I think the Arduino IDE 1.5.8 BETA runs without installing anything else. As far as I remember, it doesn't need extra Java files. Version 1.5.8 BETA has not only improvements for the compiler, but also for the IDE. When version 1.5.8 BETA also has that delay, you are in trouble...
Arduino 1.5.8 was successful, works great!
So thank you, Sir!
Can I use this version instead 1.0.6 ? Has it any disadvantages ?
But i dont really understand this : "Can you remove everything from Java and also the Arduino IDE files (but not your project folder)." I mean Arduino IDE files.. (what folder? files ? etc..)
In the Arduino IDE you can open the settings box. It shows the folder of your projects.
Your projects are often located in C:\Users<username>\Documents\Arduino
You have to keep that folder of course.
The Arduino IDE program itself has many files.
They could be located in C:\Program Files (x86)\Arduino
It has the "arduino.exe" and folders like "hardware", "tools" and so on.
When something went wrong, two different versions could be mixed.
I like to do it like this: Remove the installed Arduino program files from the "Program Files" or "Program Files (x86)".
And I unzip the Arduino IDE in a folder in my home folder and run it from there.
Version 1.5.8 in a folder "My Programs\arduino-1.5.8", version 1.0.6 in a folder "My Programs\arduino-1.0.6" and so on.
You can use 1.5.8 BETA instead of 1.0.6.
The 1.5.8 BETA might have bugs, because it has new things. But for me it works a lot better, and for me it is stable and reliable.