Arduino 1.0.1 Stuck in Windows 7

Hi,
I'm new in the forum and this is my first post. Yesterday I downloaded the Arduino Sketch Program but when I tried to run it, I just got a window saying:

ARDUINO

AN OPEN SOURCE PROJECT WRITTEN, DEBUGGED AND SUPPORTED
BY MASSIMO BANZI, DAVID CUARTIELLES, TOM IGOE,
GIANLUCA MARTINO AND DAVID MELLIS

BASED ON PROCESSING BY CASEY REAS AND BEN FRY

and that was it. Then nothing. I waited for half an hour but still nothing showed up. If the program is JAVA related, then tis would be the problem. No matter how many times I tried to install it on my PC, at the end of the installation I got an ERROR Message.
Please help. I've already ordered an Arduino UNO - R3 and it would be a waste of money if I can't get the program running.
Thank you in advance.

It might be helpful to others if you went into more detail about what that 'ERROR' message when you install the program is. What did it say? Did it have some sort of error code?

Let me check. I'll try to install JAVA and I'll reply soon.

OK! I get a window saying that Windows have detected a problem in this file---> jre1.7.0_05-c.msi. It also says that the file was blocked because it does not have a valid digital signature. The only thing I can do is just click OK and then.... nothing!

SotosAle:
OK! I get a window saying that Windows have detected a problem in this file---> jre1.7.0_05-c.msi. It also says that the file was blocked because it does not have a valid digital signature. The only thing I can do is just click OK and then.... nothing!

http://answers.microsoft.com/en-us/ie/forum/ie8-windows_other/the-file-was-blocked-because-it-does-not-have-a/3c415f36-477a-434f-89a2-b50b85324f92

The link above was really helpful and I managed to install JAVA successfully using the 2nd method described. Suprisingly, though, Arduino 1.0.1 won't start. The same thing happens again. It seems that the problem is not JAVA... Does anybody know what's wrong? Do you think that the fact that the Arduino Board isn't connected to my PC causes this frustration?

SotosAle:
The link above was really helpful and I managed to install JAVA successfully using the 2nd method described. Suprisingly, though, Arduino 1.0.1 won't start. The same thing happens again. It seems that the problem is not JAVA... Does anybody know what's wrong? Do you think that the fact that the Arduino Board isn't connected to my PC causes this frustration?

The IDE will start and run fine without a board connected.

You can try running the Arduino executable from the command-line with the "--l4j-debug" option. This will create a launch4j.log file that might tell us more.

If you create a text file called "Arduino.ini" and place this file in the same directory as Arduino.exe, you might get more information, too.

The file should contain a single line:

--verbose:class

I don't actually follow you (sorry, I'm kind of newbie)
Some guidance would be of major assistance!

If you mean to write at the Command Line (cmd):
arduino.exe --14j-debug
that gives me this:
arduino.exe is not recognised as an internal or external command operable program or batch file
As far as the creation of text file called: arduino.ino is concerned, I don't get it. You mean opening notepad and save an empty file with the name previously mentioned?

SotosAle:
If you mean to write at the Command Line (cmd):
arduino.exe --14j-debug
that gives me this:
arduino.exe is not recognised as an internal or external command operable program or batch file
As far as the creation of text file called: arduino.ino is concerned, I don't get it. You mean opening notepad and save an empty file with the name previously mentioned?

Arduino.exe is not on your PATH, so you will have to go into the directory where Arduino is installed, find the executable, and run it from there, at the command line. With the --l4j-debug option.

For example, assuming Arduino is installed in "C:\Program Files\Arduino" (you will have to figure this out):

The launcher will look for and use an "Arduino.ini" file if it finds it. Open up a text editor (notepad will work) and create (again, assuming Arduino is installed in C:\Program Files\Arduino) "C:\Program Files\Arduino\Arduino.ini" with a single line in it:

--verbose:class

Then, open up a command shell and type these two lines:

cd "C:\Program Files\Arduino"
Arduino --l4j-debug

(Note that the option begins with a small-l [as in launch].)

This should create a file called launch4j.log in the same directory, or somewhere in the Arduino install area.

After some more frustration, I managed to get a new file in the folder which is called "launch4j" and it is a .txt file. This is the information in it:

CmdLine: C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\arduino.exe --l4j-debug
WOW64: no
Working dir: C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1.
Bundled JRE: java
Check launcher: C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\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:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\java\bin\javaw.exe
Launcher args: -Xms128m -Xmx128m -classpath "lib;C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
Args length: 200/32768 chars
Exit code: 1

Then I opened the notepad and typed in "--verbose:class" and saved it with the name "Arduino.ini" in the folder where the "arduino.exe" file is. But when I type in the Command Line:
cd "C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\arduino.exe" Arduino --l4j-debug

and this is what I get: "The system cannot find the path specified."
Also I can't type two lines in cmd, just a single straight one...

SotosAle:
After some more frustration, I managed to get a new file in the folder which is called "launch4j" and it is a .txt file. This is the information in it:

CmdLine: C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\arduino.exe --l4j-debug
WOW64: no
Working dir: C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1.
Bundled JRE: java
Check launcher: C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\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:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\java\bin\javaw.exe
Launcher args: -Xms128m -Xmx128m -classpath "lib;C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\java\lib\tools.jar;lib\pde.jar;lib\core.jar;lib\jna.jar;lib\ecj.jar;lib\RXTXcomm.jar" processing.app.Base
Args length: 200/32768 chars
Exit code: 1

Then I opened the notepad and typed in "--verbose:class" and saved it with the name "Arduino.ini" in the folder where the "arduino.exe" file is. But when I type in the Command Line:
cd "C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\arduino.exe" Arduino --l4j-debug

and this is what I get: "The system cannot find the path specified."
Also I can't type two lines in cmd, just a single straight one...

Yes, you type a command and then hit Return. Then you type another and hit Return again.

(Did you really install to your Desktop? That's a bit odd...)

My mistake. The Arduino.ini file should contain "-verbose:class". Note only a single hyphen.

Though, truth be told, I don't think it will tell us more. That exit code of 1 tells us that there was a fundamental failure running Java.

What happens if you run:

C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\java\bin\javaw.exe -version

All of this stuff should be properly localized, but you may as well create a test account on this system that has a user ID with only Latin-1 characters in it. Try running Arduino from that account.

Also, make sure you disable all real-time anti-virus protection processes. These will interfere with applications in all sort of confusing ways.

When I run this file:
C:\Users???????\Desktop\arduino-1.0.1-windows\arduino-1.0.1\java\bin\javaw.exe
nothing happens.

I followed your advice and created a second user ID in my PC and named it with Latin letters. I put a copy of the "arduino-1.0.1-windows" folder on a share folder and ran the program. It worked and I didn't need to de-activate Virus Protection (Kaspersky). But it's rediculous to go to another user whenever I want to use the program. Isn't there a way to deal with the source of the problem?

P.S.: Should I move the "arduino-1.0.1-windows" folder in program files?

Never mind! I' ve just moved the "arduino-1.0.1-windows" folder to Program Files and created a shortcut of the arduino.exe on the Desktop. It works just fine! Thank you for your time and help :slight_smile:

SotosAle:
Never mind! I' ve just moved the "arduino-1.0.1-windows" folder to Program Files and created a shortcut of the arduino.exe on the Desktop. It works just fine! Thank you for your time and help :slight_smile:

Yeah, the Desktop thing on Windows is a little special now. It isn't just a plain folder anymore. Same with Documents and so on.