Arduino 0011 doesn't start on Vista

Congratulations on the new release!

I just downloaded it to try it out on my Vista machine, but simply double-clicking arduino.exe only brings up a Windows recovery manager..
Then I noticed the /java subfolder that wasn't there in v0010. I removed it in the hope that it would pick up my system Java and voilà, that worked. So it seems to be that the Arduino-packaged Java doesn't work with Vista, but I cannot tell why.

try running it on console and see its ouput

I tried that, but with the same result.. No output, just a Windows pop-up saying "arduino.exe doesn't work anymore".

Using run.bat, which also uses the packaged Java, works fine. It only makes Vista switch to compatibility mode, which is due to the age of the packaged Java (version 1.4.2 from 2005).

I also downloaded v0010 again and saw that indeed it has the same problem. I must have deleted the /java folder in there and then forgotten about it.
Processing also ships with Java 1.4.2, but the processing.exe works fine (though also switches to compatibility mode).

So it seems that the arduino.exe is somehow broken and needs to be compiled like the latest processing.exe. Another welcomed option would be an alternate download without Java, as also available for Processing.

Hi,
I had the same problem with the arduino.exe and the vista compabtibliy mode.

I use a modified version of run.bat (runArduino.bat) that runs the Arduino-app with the Java-version that is installed on you machine.

Here is the content :

REM run arduino with the current JRE Java 1.6.beta10
@echo off
REM save old classpath and path 
set SAVEDCP=%CLASSPATH%
set SAVEDPATH=%PATH%
set CLASSPATH=lib;lib\build;lib\pde.jar;lib\antlr.jar;lib\RXTXcomm.jar;lib\oro.jar;lib\registry.jar;lib\mrj.jar
set PATH=lib;%PATH%

REM start the arduino-IDE
java processing.app.Base

REM restore old classpath / path
set CLASSPATH=%SAVEDCP%
set PATH=%SAVEDPATH%

Eberhard

Thanks!
Simply deleting the arduino-0011/java folder has the same effect, though. Arduino then automatically picks up the system java.