java.lang.UnsatisfiedLinkError: no xuggle-xuggler in java.library.path

前端 未结 4 1509
感动是毒
感动是毒 2021-01-15 15:29

I\'m using Ubuntu 11.04 and Eclipse. I installed Xuggler succesfully, I\'ve checked the environment variables and everything related with linux in their FAQ: http://wiki.xug

4条回答
  •  不要未来只要你来
    2021-01-15 15:42

    I got the answer/solution from the xuggler-users google group, credits to Navin Bhutada:

    solve it by including the Xuggle variables before runing the netbeans like this:
    export XUGGLE_HOME=/home/xyzuser/xuggler 
    export PATH=$XUGGLE_HOME/lib:$XUGGLE_HOME/bin:$PATH
    export LD_LIBRARY_PATH=$XUGGLE_HOME/lib:$LD_LIBRARY_PATH
    /usr/share/netbeans/6.9/bin/./netbeans"
    

    I use eclipse, so I just changed that last line, running eclipse from its folder through the command line and everything worked just fine.

    Note: If I export the variables and try opening eclipse from a shortcut on my desktop it doesn't work. The shortcut point to the same file I ran from the command line

    TLDR: export variables you got after installing run Eclipse from the terminal.

提交回复
热议问题