Print at Dec 20, 2025, 10:22:53 AM View all posts in this thread on one page
Posted by java311 at Jul 4, 2011, 7:08:56 PM
Insert jar files into plugins.
Hi !

By now I have followed all the guide and I successfully implemented something very basic. But i need to use some extra libraries (JAMA) inside my own plugin to solve some mathematic problems.

So anybody knows how to insert extra jar library files into a Sweet Home's plugin? Because when I try to run some code that has Jama libraries on it, I always get this:

java.lang.NoClassDefFoundError: Jama/util/Maths
at Jama.QRDecomposition.<init>(QRDecomposition.java:60)

But Jama library is properly included in my Eclipse project.

Posted by Puybaret at Jul 5, 2011, 10:39:28 AM
Re: Insert jar files into plugins.
You should simply include the content of Jama jar file in the plug-in file itself.
As Jama is relesed in public domain, there's no license problem to do that.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator