Error: could not finde java 2 runtime environment

I’m working with WinXP. Unzipped Arduino_Inst. Installed latest Java Version.

But everytime I try to open Arduino.exe I get this message:

Error: could not finde java 2 runtime environment

Does anybody know help?

Did you try the run.bat file? If it doesn't work, try editing it and change JAVA_HOME to point to the version of Java you installed instead of the one that comes with Arduino.

Thanks for the help. :)

I tried to edit set JAVA_HOME=""

set JAVA_HOME="C:\Program Files\Java\jre1.5.0_11\bin\"

But I get an error:

Exception in thread "main" java.lang.NoClassDefFoundError: processing/app/Base :(

What do I wrong?

Hmm... you could try changing the paths in the CLASSPATH variable to absolute paths instead of relative ones. Is there a pde.jar in the lib/ subdirectory of the Arduino directory?

How can I change the classpath variable to absolute paths?

A pde.jar ist in the arduino directory. But there is no subdirectory.

Thanks for new suggestions.


PS. I'm here in a Arduino Workshop. All Mac are working thin. All 5 PCs don't work. Some have the same problem than I have ... Why does tha Arduino-Editor don't work standalone without Java? ;)

PS. I'm here in a Arduino Workshop. All Mac are working thin. All 5 PCs don't work. Some have the same problem than I have ...

Because they are PCs....

Why does tha Arduino-Editor don't work standalone without Java? Wink

Because writing a cross platform IDE is a complex and expensive exercise... we are an open source project and not a big company, we create great mashups of existing open source technologies..

why do you think you pay only 25 EUR for arduino?

I didn't want to be rude. :-X

It sounds like you may have unzipped the Arduino software without preserving the sub-directories. You'll need to re-unzip it, but preserving the folder structure.