Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Acis with Java 6 on linux?
[ Edited ]Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
09-28-2007 10:02 AM - edited 09-28-2007 11:58 AM
Has anybody out there tried to use Acis with Java 6 on linux?
I use java for my application's GUI, and call in to ACIS through JNI calls. This worked fine with java 1.4 and 1.5.
But with java 6, the JVM generates a SEGV and crashes unpredictably after I initialize the acis kernel.
I've investigated signal handling and I can't find any problems there.
It's really hard to debug this since the crash occurs inside the JVM code somewhere. So Acis must be doing something to cause the crash, but I can't figure out what it is.
Any suggestions greatly appreciated.
If it matters, I'm running Acis 17.1, JRE version 1.6.0_01, and Red Hat EL version 3 (same problem on versions 4 and 5).
I have some really simple example code if anybody wants it.
Thanks!
Message Edited by minime on 09-28-2007 02:58 PM
Re: Acis with Java 6 on linux?
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-04-2007 11:43 AM
If you need to use ACIS inside Java, I wouldn't recommend to call acis through JNI directly.
Instead I would write wrapper library over ACIS and call it from Java, it would give you more control over process and reliability. Both ACIS and JVM are writtten by people, and they are not free from making mistakes
Instead I would write wrapper library over ACIS and call it from Java, it would give you more control over process and reliability. Both ACIS and JVM are writtten by people, and they are not free from making mistakes
Re: Acis with Java 6 on linux?
[ Edited ]Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
10-19-2007 03:22 PM - edited 10-22-2007 10:33 AM
Moved: http://forums.spatial.com/t5/Deleted-boards-and-posts/Re-Acis-with-Java-6-on-linux/m-p/264#U264
This reply was removed by the moderator because it was a duplicate that was intended by the user to be posted in its own thread. Please refer to the thread for this post at:
http://forums.spatial.com/spatial/board/message?bo
Message Edited by Stacey on 10-22-2007 11:33 AM

