Go Down

Topic: Arduino IDE (0014) for Win. won't open. (Read 1 time) previous topic - next topic


I've been trying to get the software to work properly for a few days now. I downloaded the latest version for Windows, extracted the folder to my desktop for the time being. I opened it, clicked the Arduino icon but it dosen't' open. However, it does open if I click the run.bat file. I want to be able to open it normally without having the cmd window open. I'm running XP SP2 and have the latest versions of Java. Anyone know why this isn't working?


I was told somewhere else that I had to change some things around in the batch file to get it to work. Here's what the file says:

@echo off

REM --- if you're running out of memory, change the 128m
REM --- (which means 128 megabytes) to something higher.

set JAVA_HOME="java/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%

REM start javaw -ms128m -mx128m processing.app.Base
%JAVA_HOME%\java processing.app.Base



echo *** Error: cannot execute Arduino
echo *** Reason: lacking the directory where to find Java in your computer
echo ***
echo *** Fix: Edit run.bat and add the JAVA_HOME directory
echo ***      at the 'set JAVA_HOME=""' line
echo ***
echo *** then call the batch file run.bat in order to execute Arduino

echo Bye.

I don't know what I would have to fix because I'm not familiar with Java or manipulating batch files. Anyone know what I can do to fix this? It doesn't install like a regular program, if it did I would just uninstall and then re-install it.


Delete the "java" folder and try again.
My website: http://ried.cl

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131