3 Replies Latest reply on Nov 8, 2011 12:52 AM by EJP

    Compiling C++ Code in RedHat Linux GCC 4.1.2.

      i want to compile a small C++ code in RedHat Linux. It is an integration with Oracle JNI 1.5.0 .

      Can some provide me the correct compilation/linking procedure ? I have created a code as below. It compile well but while executing it is throwing core dum/java core etc.

      g++ -I /aime/vimalraj/jdk_sr8/java-s390x-60/include -I /aime/vimalraj/jdk_sr8/java-s390x-60/include/linux -shared readfile.cc -o readfile.so