Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« on: March 24, 2012, 10:40:44 am » |
Hi all, I am new to these forums but have been using arduino for about a year. Most of the work I do Is on the lab computers at my university. I recently tried to install arduino on my laptop so that I could work on my next project from home. After downloading the file I tried to open the arduino.exe file. The program acted like it was going to open up but it stayed frozen on the blue arduino loading screen until a launch4j error message came up saying "an error occurred while starting the application". I'm running windows 64 bit vista. Is arduino not compatible with 64 bit vista or is something else going on?
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #1 on: March 24, 2012, 11:09:11 am » |
Here is a link to a thread that discusses the same symptoms you are seeing: http://arduino.cc/forum/index.php/topic,95016.msg713629.html#msg713629It seems like there are several different causes for this issue, so I would suggest following the troubleshooting steps suggested in the thread to narrow down the cause for your particular issue. Post back to this thread will any of your results and log files, so we can help solve your problem.
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #2 on: March 24, 2012, 11:56:23 am » |
Thanks for the reply. Well I tried updating java and that did not fix the problem. I tried finding the preferences folder but I do not have an arduino file under appdata. When i downloaded arduino i just extracted the whole file to my desktop.
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #3 on: March 24, 2012, 02:37:41 pm » |
There are several other troubleshooting steps to perform from that thread... If that does not work, from a command line, launch arduino.exe with the following command:
arduino.exe --l4j-debug
Then send us the launch4j.log file in the Arduino folder to see if that tells us anything. You can also try running the arduino.exe as an administrator. That worked for some other people. Move the Arduino folder to the root directory; C:\Arduino\ for example.
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #4 on: March 24, 2012, 02:54:00 pm » |
I set up the folder in my c drive. Now arduino is under the directory C:\Arduino\arduino-1.0 I right clicked on the exe file and hit run as administrator and I had the same results.
I would like to try the command line thing but I do not know how to launch it through command line.
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #5 on: March 24, 2012, 03:04:52 pm » |
1. Press the Windows key + R 2. The Run dialog should pop up. 3. Enter or copy and paste the following text into the Open line: C:\Arduino\arduino-1.0\arduino.exe --l4j-debug 4. Select the OK button. 5. Now browse to the Arduino folder and send the launch4j.log file in that folder.
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #6 on: March 24, 2012, 03:24:26 pm » |
Thanks I learned something new today.
Ok this is what the file says
CmdLine: C:\Arduino\arduino-1.0\arduino.exe --l4j-debug WOW64: yes Working dir: C:\Arduino\arduino-1.0\. Bundled JRE: java Check launcher: C:\Arduino\arduino-1.0\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: C:\Arduino\arduino-1.0\java\bin\javaw.exe Launcher args: -Xms128m -Xmx128m -classpath "lib;C:\Arduino\arduino-1.0\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base Args length: 162/32768 chars
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #7 on: March 24, 2012, 03:27:03 pm » |
I ran it again and it came up with a new error at the end.
CmdLine: C:\Arduino\arduino-1.0\arduino.exe --l4j-debug WOW64: yes Working dir: C:\Arduino\arduino-1.0\. Bundled JRE: java Check launcher: C:\Arduino\arduino-1.0\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: C:\Arduino\arduino-1.0\java\bin\javaw.exe Launcher args: -Xms128m -Xmx128m -classpath "lib;C:\Arduino\arduino-1.0\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base Args length: 162/32768 chars Error: Invalid window handle.
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #8 on: March 24, 2012, 04:39:30 pm » |
Try launching with one of these commands, to see if this solves the problem.
C:\Arduino\arduino-1.0\arduino.exe --l4j-no-splash C:\Arduino\arduino-1.0\arduino.exe --l4j-no-splash-err
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #9 on: March 24, 2012, 04:44:40 pm » |
Tried both and nothing happened. Not even an error message.
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #10 on: March 24, 2012, 05:33:52 pm » |
Now try executing this command: (this is one continuous command line entry)
C:\Arduino\arduino-1.0\java\bin\javaw.exe -Xms128m -Xmx128m -classpath "lib;C:\Arduino\arduino-1.0\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
This is the command that the launcher executes in the background. This will help determine if the problem is with the launcher or with the Java application.
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #11 on: March 24, 2012, 05:37:26 pm » |
Thanks again for the quick reply. Just ran it and got a java virtual machine launcher error "could not find the main class: processing.app.Base. Program will exit."
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #12 on: March 24, 2012, 05:57:32 pm » |
That was my mistake. You need to execute that command within the Arduino directory.
1. Windows key + R. 2. Enter: cmd.exe 3. Press OK button. 4. Now type: cd \arduino\arduino-1.0 5. Press Enter key 6. You should see a command prompt that looks like this: C:\arduino\arduino-1.0> 7. Copy this command to the clip board: C:\Arduino\arduino-1.0\java\bin\javaw.exe -Xms128m -Xmx128m -classpath "lib;C:\Arduino\arduino-1.0\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base 8. Now click the C:\ icon in the upper left corner of the command prompt window. You should get a menu. 9. Select the Edit -> Paste menu option to paste the command you copied to the command prompt. 10. Now press Enter.
|
|
|
|
|
Logged
|
|
|
|
|
Tennessee
Offline
Newbie
Karma: 2
Posts: 27
|
 |
« Reply #13 on: March 24, 2012, 08:23:00 pm » |
I did all of that and nothing happened
|
|
|
|
|
Logged
|
|
|
|
|
Austin, TX
Offline
Sr. Member
Karma: 12
Posts: 428
carpe diem
|
 |
« Reply #14 on: March 24, 2012, 09:48:54 pm » |
Replace the following command with step 7: C:\Arduino\arduino-1.0\java\bin\java.exe -verbose -Xms128m -Xmx128m -classpath "lib;C:\Arduino\arduino-1.0\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base > output.txt
This will send all the verbose Java output to the file output.txt
Reply with the output.txt as an attachment. Hopefully this will indicate the problem.
|
|
|
|
|
Logged
|
|
|
|
|
|