forum.hugin.com

User Forums => FAQ => Topic started by: Martin on July 02, 2007, 14:19:54

Title: Linux: java.lang.UnsatisfiedLinkError
Post by: Martin 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