Insert jar files into plugins.

This topic has been viewed 3664 times and has 1 replies
Thread status: Active
Questions about extending features and developing plug-ins [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
java311
Posts: 1
Joined: Mon Jul 04, 2011 6:58 pm
Contact:

Insert jar files into plugins.

Post by java311 »

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Insert jar files into plugins.

Post by Puybaret »

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
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests