wood burning stoves 2.0*
The moose likes Java in General and the fly likes JVM return code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JVM return code " Watch "JVM return code " New topic
Author

JVM return code

akmal jah
Ranch Hand

Joined: Feb 18, 2002
Posts: 31
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

Joined: Dec 20, 2001
Posts: 3271
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


SCJP Tipline, etc.
Snigdha Solanki
Ranch Hand

Joined: Sep 07, 2000
Posts: 128
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?


Snigdha<br />Sun Certified Programmer for the Java™ 2 Platform
akmal jah
Ranch Hand

Joined: Feb 18, 2002
Posts: 31
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.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM return code
 
Similar Threads
Checking for Session Timeout
JVM return code
invoking jvm from other jvm
how to stop my return string from being encoded?
Get Javascript returned value into Java