We have installed the software, drivers, the light is on the arduino and I have modified the batch file as follows
set JAVA_HOME="c:\Program Files\Java\jre1.6.0_03\bin"
The rest of the batch file is as normal. I'm using the batch file because running the Arduino application doesn't do anything.
I'm getting an error
Exception in thread "main" java.lang.NoClassDefFoundError: processing/app/Base
Press any key to continue . . .
Bye
I think the problem is that there is no pde.jar file in the java directory, I can't find pde.jar anywhere.
the value of JAVA_HOME usually points to the root-directory of the java installation, not to the bin-dir.
In your case that should be
set JAVA_HOME="c:\Program Files\Java\jre1.6.0_03"
I've been trying lots of stuff, at least now I get a Java error box pop up "Could not find main class, Java will exit".
Here is my file, my next desperate step might be to install a JDE!!! Can anyone help please
REM --- if you're running out of memory, change the 128m
REM --- (which means 128 megabytes) to something higher.
set SAVEDCP=%CLASSPATH%
set SAVEDPATH=%PATH%
REM --- this is the original line --- set JAVA_HOME="java\bin"
set JAVA_HOME="c:\Program Files\Java\jre1.6.0_05\bin"
if %JAVA_HOME% == "" GOTO Error
set CLASSPATH=.;java\lib\rt.jar;lib;lib\build;lib\pde.jar;lib\antlr.jar;lib\RXTXcomm.jar;lib\oro.jar;lib\registry.jar;lib\mrj.jar
set PATH=java\bin;lib;%PATH%
start javaw -ms128m -mx128m processing.app.Base
REM %JAVA_HOME%\java processing.app.Base
REM set CLASSPATH=%SAVEDCP%
REM set PATH=%SAVEDPATH%