Home
Reply
New Visitor
minime
Posts: 1

Acis with Java 6 on linux?

[ Edited ]
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
vrv
Contributor
vrv
Posts: 5

Re: Acis with Java 6 on linux?

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
Spatial Moderator
Stacey
Posts: 76

Re: Acis with Java 6 on linux?

[ Edited ]

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?board.id=ACIS&message.id=87



Message Edited by Stacey on 10-22-2007 11:33 AM