File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JNI calling a C Program which gives a Core Dump

 
CGI Tokyo
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a Java Program which calls a C Program through JNI. The C Program for some reason gives a Core Dump and my entire Java Application Crashes. Is there some way by which, even if the C Program crashes I can continue with my Java Application i.e. is there a way to catch a "Core Dump" within my Java Program?
 
Pauline McNamara
Sheriff
Posts: 4012
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi CGI,
Welcome to JavaRanch.
In order to maintain its professional profile, JavaRanch has a naming policy that prohibits fictitious sounding names. Could you please reregister with a new name, preferably your real name?
Thanks and best of luck with your program.
Pauline
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic