Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

JNI - linux

  • 07-08-2002 02: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