20 Aug 2002 cthrall   » (Observer)

JNI Runtime Link Errors

My memory ain't so good these days, so here are two reasons for getting Java runtime link exceptions when you're trying to run native code:

  • Your LD_LIBRARY_PATH is set incorrectly (obvious one).
  • Your native functions are named incorrectly. This happened to me when I moved a Java class into a package without running javah again and changing my native implementation function names to match the generated header.

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!