Pages: [1]   Go Down
Author Topic: Error: could not finde java 2 runtime environment  (Read 754 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thanks for the help.  smiley

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  smiley-sad

What do I wrong?
« Last Edit: February 26, 2007, 07:07:28 pm by Boom » Logged

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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? smiley-wink
« Last Edit: March 01, 2007, 08:37:58 am by Boom » Logged

Forum Administrator
Offline Offline
Newbie
*****
Karma: 3
Posts: 3
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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


Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Forum Administrator
Cambridge, MA
Offline Offline
Faraday Member
*****
Karma: 12
Posts: 3538
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.  
Logged

Pages: [1]   Go Up
Jump to: