Go Down

Topic: could not find the main class, Program will exit (Read 1 time) previous topic - next topic

rjeblogue

I download the 008 version for windows, save it to my desktop and unzip with Winzip. I click on Arduino.exe and I get a message saying " could not find the main class, Program will exit"
Any ideas what I am doing wrong. I was hoping to get it downloaded before my kit arrives. Thanks

mellis

Did you preserve the folder structure when you extracted it?  Are you sure it download completely?  Also, try using the run.bat instead of the arduino.exe.

rjeblogue

#2
Aug 05, 2007, 02:01 am Last Edit: Aug 05, 2007, 06:50 am by rjeblogue Reason: 1
Thanks for reply. I'm afraid I may be a bit more computer illiterate than most Arduino users. The file saved is 46.7 MB in size. As far as the structure, how do I know if the folder structure is preserved. Winzip automatically unzips . I found and clicked on the the run.bat file and I get "system cannot find the file" but not sure how to open it? Thanks again.

mellis

#3
Aug 05, 2007, 04:34 pm Last Edit: Aug 05, 2007, 04:35 pm by mellis Reason: 1
Inside the Arduino folder, are there other sub-folders (and just a few files) or are there a bunch (dozens or hundreds) of files?

rjeblogue

After unzipping, there is a "view" option inside winzip. If I "view all files" there is hundreds of files. If I view "files by folder" there is 8 folders and 8 seperate files not in folders. I can switch back and forth between the views.

mellis

Ahah.  It sounds like you're just viewing a the contents of the zipped file rather than extracting them in a permanent way.  In this state, Winzip will let you open individual files, but because they're still actually zipped, the Arduino.exe file can't find the other files it needs to work.  You'll need to tell Winzip to "extract" the files somewhere.

rjeblogue

Excellent-got program running..now just need to wait for kit, assemble, and figure what I just got myself into..Thanks for your help, Rob

Go Up