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 ?
My first plugin :)
This topic has been viewed 5000 times and has 3 replies
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).
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
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.
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.
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!
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!
Who is online
Users browsing this forum: No registered users and 1 guest