Pages: [1]   Go Down
Author Topic: Arduino IDE and strange java bug  (Read 456 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi everyone.

I've got myself an arduino and started to play with it. I was uploading default examples to arduino and everything was fine, until I've reached the part about servos. So, i've uploaded servo-sweep example to my arduino and I've got some strange bug - my servo moves a little bit and then nothing happens. But! When I try to upload another example, I receive "Serial port COM3 already in use. Try quitting any programs bla-bla-bla". I close IDE and open task manager (I'm on win7sp1). Of course, the problem is in javaw.exe, that for some reason still hangs in memory. I try to kill it, but... nothing happens =) It still hangs in process list. I do kill it again and again, but it's immortal like Connor MacLeod =) I even downloaded ProcessExplorer from MS, a tool that can kill anything, but it was defeated by mighty javaw.exe =) The only way to solve the problem is to reboot pc. Does anybody know how to solve that problem?
Logged

Forum Administrator
Offline Offline
God Member
*****
Karma: 52
Posts: 646
I find plain exciting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

hello

please be aware that the servomotor might be using too much current, especially when it starts.

try to see if you have an rxtxSerial.dll  somewhere else than the arduino directory

m
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 217
Posts: 13739
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

idea:

Maybe there are more processes involved to run java, and killing one could cause an automatic restart of javaw.exe by some other daemon (service whatever). So kill the daemon first.

after a reboot check a processlist
start the IDE and chack which processes were added
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

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

Problem solved.
I've switched to the external power source and it works fine now.
Logged

Pages: [1]   Go Up
Jump to: