Author Topic: Linux: java.lang.UnsatisfiedLinkError  (Read 14613 times)

Offline Martin

  • HUGIN Expert
  • Hero Member
  • *****
  • Posts: 613
    • View Profile
Linux: java.lang.UnsatisfiedLinkError
« on: July 02, 2007, 14:19:54 »
Symptom:
When I run the Hugin GUI on linux, the application quits with the following message:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
[...]



Cause:
(1 - Most likely)
Hugin will only run with Sun's java distributions. The error is most likely because you are running hugin with a java distribution that does not come from Sun.
Check your java distribution by writing 'java -version'


(2)
If the exact text of the error message says
Exception in thread "main" java.lang.UnsatisfiedLinkError: no hgapiXX in java.library.path
Then, java.library.path in the hugin startup script is not configured correctly. java.library.path must point to the directory containing libhgapiXX.so
Hugin Expert A/S