| Author |
terminated exit value:0 error
|
anand ta
Greenhorn
Joined: Feb 22, 2009
Posts: 3
|
|
Hi all,
I am a newbie here , learning java!
I had to write an exercise on threads and i got halt on running my first thread itself!
I am running this on ubuntu 8.1 on ecplise ID!
The code tat i wrote is
When i ran i got this error!
<terminated, exit value: 0>/usr/lib/jvm/java-1.5.0-gcj-4.3-1.5.0.0/bin/java (22-Feb-09 2:55:50 PM)
Can any1 help wat this error means and where i am messing things?
Thanks in advance,
-Anand
[Nitesh: Added code tags. Please UseCodeTags]
|
 |
Ernest Friedman-Hill
author and iconoclast
Marshal
Joined: Jul 08, 2003
Posts: 24041
|
|
|
This program wouldn't have any output -- you didn't call "start()" on any of the threads. "Terminated" means the program finished, and exit code 0 means "normal completion." So basically Eclipse says "your program is done."
|
[Jess in Action][AskingGoodQuestions]
|
 |
anand ta
Greenhorn
Joined: Feb 22, 2009
Posts: 3
|
|
thanks a lot Ernest! it works now!! I was not confident and hence pressed the run before i finish calling the start() ! thanks much!
Cheers,
-Anand
|
 |
 |
|
|
subject: terminated exit value:0 error
|
|
|