Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

JNI - linux

Options
  • 07-08-2002 2:25pm
    #1
    Closed Accounts Posts: 536 ✭✭✭


    Right here's my problem this time.
    I have a java servlet with JNI which works on Solaris and I'm now after moving to Linux (Redhat 7.2).

    the servlet seems to work fine but my I'm having problems with the library.
    I allocated a pointer (which is declared in the header) in the first function I call but when I call another function from the servlet the pointer has lost it's value.

    I've 2 questions,
    1. is the any reason that anyone can think of why this would happen? note: I'v ethe same code runnign perfectly on solaris.

    2. How do I debug a library in Linux? I'm using jbuilder for the servlet.


Advertisement