Index  | Recent Threads  | List Attachments  | Search
 Welcome Guest  |  Register  |  Login
Login Name  Password
 

Sweet Home 3D Forum



No member browsing this thread
Thread Status: Active
Total posts in this thread: 4
[ Jump to Last Post ]
Post new Thread
Author
Previous Thread This topic has been viewed 4639 times and has 3 replies Next Thread
javivf
Newbie
Member's Avatar


Joined: Mar 21, 2010
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
confused 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 ?
[Apr 3, 2010, 10:13:42 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
Puybaret
Expert
Member's Avatar

France
Joined: Nov 7, 2005
Post Count: 9426
Status: Offline
Reply to this Post  Reply with Quote 
Re: My first plugin :)

Welcome to Sweet Home 3D development world! smile

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
[Apr 3, 2010, 11:37:26 AM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
javivf
Newbie
Member's Avatar


Joined: Mar 21, 2010
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
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.
[Apr 3, 2010, 5:03:57 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
javivf
Newbie
Member's Avatar


Joined: Mar 21, 2010
Post Count: 6
Status: Offline
Reply to this Post  Reply with Quote 
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!
[Apr 4, 2010, 9:15:33 PM] Show Printable Version of Post    View Member Profile    Send Private Message [Link] Report threatening or abusive post: please login first  Go to top 
[ Jump to Last Post ]
Show Printable Version of Thread  Post new Thread

  Get Sweet Home 3D at SourceForge.net. Fast, secure and Free Open Source software downloads  
© Copyright 2024 Space Mushrooms - All rights reserved