Go Down

Topic: Error: could not finde java 2 runtime environment (Read 801 times) previous topic - next topic

Boom

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?

mellis

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.

Boom

#2
Feb 27, 2007, 01:06 am Last Edit: Feb 27, 2007, 01:07 am by Boom Reason: 1
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?

mellis

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?  

Boom

#4
Mar 01, 2007, 02:29 pm Last Edit: Mar 01, 2007, 02:37 pm by Boom Reason: 1
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? ;)

admin

>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?




mellis

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.  

Go Up