Pages: [1] 2   Go Down
Author Topic: Problems, Problems, Problems  (Read 1944 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I just bought an Arduino, and I am now using the Arduino software. It seems easy to use, but I am having way too many problems with it. About 80% of the time when I try to open the program, it does not open at all. Also, when I want to open a sketch that I saved, (and yes, I fixed the file associations) it rarely opens. When Arduino DOES open, I have to go into FILE ---> SKETCH ---> OPEN and choose the file manually from the browser. Should I go back to an older version? I am curious why the programmers posted the Alpha version as the primary download like on Arduno.cc...Great software-- I just can't seem to be able to use it! Help!
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Which operating system are you using?

How are you trying to run Arduino?  What happens (when it fails to open successfully)?

As strange as it sounds, opening a sketch directly from your desktop isn't usually a common operation, as sketches that are saved in the default location automatically appear in the Sketchbook menu in the IDE.  It's something that we should fix though.  

The "Alpha" moniker has applied to every version of the software so far; 0010 shouldn't be any more unstable than older versions (in fact, it should be more stable).
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am using Windows XP Home Edition. Should I be using a version built into an installer (if that exists?). I did notice that the whole Arduino program doesn't have to be "installed" per say (it's just all in one directory with the executable that accesses the other files needed for it to run in the directory). When it fails to open (when I click it; whether I click the shortcut I mad on my desktop, or the actual executable in the Arduino software directory it does not make a difference), all that happens is my HDD drive flashes for like 5 to 8 seconds, and then stops, not having loaded Arduino. Oddly enough, I am now discovering this stands true for Processing as well. As for the opening files outside of Arduino, how is that not common? What if I want to move, manipulate, and organize my various source code files into categorized folders? I have a lot of different programs written in BASIC and C on my PC, and I like to move them around and manipulate them from Explorer (aka "My Computer") so I can find them easier in the future. I hope that doesn't sound picky or anything... :-/. Is the Arduino software as well as Processing in early development?? Thanks!
« Last Edit: December 27, 2007, 07:09:33 pm by quackmaster7000 » Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Man, I just CAN'T get it to work at ALL now! I tried restarting my PC, updating Java, re-downloading the software...I don't know what to do!  :'(
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Have you tried the run.bat?  That's sometimes more reliable than the executable.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That doesn't work, either. The command prompt comes up with an error that says: "Error occurred during initialization of VM java/lang/NoClassDefFoundError: java/lang/Object. Maybe that'll help...?
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Hmm, sounds like the Java install is messed up.  What is JAVA_HOME set to in the run.bat file?  What happens if you open a command prompt, cd to the Arduino directory, and run "run.bat" from there?  Does java\lib\rt.jar exist?
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok. I cd'd to the directory, and tried to run run.bat. Didn't work; came up with the same error. I also tried to run the arduino exec. from there. Same thing. I checked for the rt.jar file. It was there. Just out of curiosity, I tried to run it. Should it have run properly? Because I tried to run it and it said: "Failed to load Main-Class manifest attribute from [...\...\ directory ---> rt.jar]. Hmmm...
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

And what's JAVA_HOME set to in the run.bat file?  You might try putting a semi-colon ";" at the end of the set CLASSPATH= line (after mrj.jar).  Or putting the value assigned to CLASSPATH in "double quotes".  Also, try changing the line:

%JAVA_HOME%\java processing.app.Base

to:

%JAVA_HOME%\java -verbose processing.app.Base

It won't fix anything, but might help us figure out what's wrong.  Try running it again and posting the output here.

Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Erm...I don't quite understand what you're getting at. Could you elaborate a little. Thanks!
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Sure.  Open up the run.bat file in a text editor (like notepad or wordpad).  Then it should make more sense.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Ok. It says " set JAVA_HOME="java\bin" " (JAVA_HOME set to). I have to admit, when I talked about programming in C, I meant to say variations of C. So, I edited the run.bat file in a text editor...but how can I re-compile it as a .batch file? With something like Bloodshed Dev C++?? I mean, you can't run a text file as a program...Thanks!
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Actually, you can run this type of text file as a program.  Just open it in a text editor, make the changes, and run it again.  No compilation necessary.
Logged

0
Offline Offline
Full Member
***
Karma: 0
Posts: 171
"So...What does this thing do?"
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Nope. Same error as before.  :'(
Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

What'd you try?  

Did adding -verbose to the command line provide any more information?
Logged

Pages: [1] 2   Go Up
Jump to: