• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JVM return code

 
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Ranch Hand
Posts: 3271
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic