It is currently Thu, 25 Feb 2021 07:41:10 GMT



 
Author Message
 Problem with ibm jdk, jni and g++
Hello,

I try to call C++ code from a java program (jni) using gnu g++ compiler
(under AIX 4.3).

The compilation succeed but the program crash (core dumped) in the first
C++ constructor.

The program works find using IBM xlC compiler and the makeC++SharedLib
utilitie. The IBM JDK documentation explains that it is necessary to use
makeC++SharedLib because else, there is a trouble with C++ constructor
and destructor.

Did somebody even try to use g++, aix and jdk together on a AIX
plateform ?

Thanks, Stephane Pillorget.

Sent via Deja.com http://www.**-**.com/
Before you buy.



 Fri, 10 Jan 2003 03:00:00 GMT   
 
   [ 1 post ] 

Similar Threads

1. Setting env variables for Sun JDK and IBM JDK on a same Linux Server

2. JNI sample invoking Java from c for JDK 1.3

3. Functioning combination of OS, JDK and C++ installation for JNI

4. JNI under Linux with JDK 1.1.6 (glibc)

5. jni.h and jni_md.h in jdk 1.4.1

6. Need help on SIGSEGV error in a g++/JNI application

7. jni using gnu g++ on AIX 4.3.3

8. suse 6.1 / ibm jdk 118 problem

9. SUN-JNI-Brocade-IBM Storage

10. E-Seminar on IBM's JDK for Linux


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software