|
Sweet Home 3D Forum » List all forums » » Forum: Developers » » » Thread: My first plugin :) |
|
| Print at Dec 20, 2025, 10:04:33 PM | View all posts in this thread on one page |
| Posted by javivf at Apr 3, 2010, 10:13:42 AM |
My first plugin :)I'm trying to develop a plugin and need to use iText but I always get the following error: Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com / Lowagie / text / DocumentException How can i use iText ? |
| Posted by Puybaret at Apr 3, 2010, 11:37:26 AM |
|
Re: My first plugin :) Welcome to Sweet Home 3D development world! Under which system do you try your plug-in? You should know that iText isn't included in classpath under Mac OS X, because it's useless for Sweet Home 3D under that system (all Mac OS X applications provide a print to PDF feature in their print dialog). ---------------------------------------- Emmanuel Puybaret, Sweet Home 3D creator |
| Posted by javivf at Apr 3, 2010, 5:03:57 PM |
|
Re: My first plugin :) I'm trying to run on Ubuntu linux with this command line : java -jar SweeHome3D.jar I'm java newbie too but in this .jar exists iText-2.1.7.jar and I thought it was SweetHome3DBootstrap work load this jars when i start the application. |
| Posted by javivf at Apr 4, 2010, 9:15:33 PM |
|
Re: My first plugin :) My fault, i can access to iText with that: java -Djava.ext.dirs=/usr/local/src/SweetHome3D/lib:/usr/local/src/SweetHome3D/libtest/:/usr/local/src/SweetHome3D/lib/linux/ -jar SweetHome3D-2.3.jar Sorry for any inconvenience! |
|
|
Current timezone is GMT Dec 20, 2025, 10:04:33 PM |