Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM return code

 
akmal jah
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
does java virtual machine return any code when it is done or is dying because of some excpetion. if so where can I get the list ?
I am running my application from script and that script is catching a return code , how can I get more info about that code ?
[ June 25, 2002: Message edited by: akmal jah ]
 
Corey McGlone
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This really isn't much of a certification question (this most definitely won't be on the exam), so I'm going to move this to JiG (Intermediate).
Corey
 
Snigdha Solanki
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you give more details - are you using shell script,what is the error code it is returning, are you catching exception and printing the stack trace?
 
akmal jah
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, I am using shell script. the return code that I get back is 137 ( usually), my application is programmed to print the stack trace in a log file and it pretty much does that w/o fail, but in some situations I dont get any log , I just die , as if somebody choked my application , that's when I thought may be OS has somehow threw my JVM out for some reason.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic