On 03/15/12 13:26, Balder VC wrote: > I have the same issue on ubuntu with a sun JDK 6. > > But when I build the jar-with-dependencies and run that, it runs without > a problem. (this is build when you do the maven build) > > Perhaps it's because there are more required libraries than only itextpdf. > > According to the jar's manifest: > > Manifest-Version: 1.0 > Archiver-Version: Plexus Archiver > Created-By: Apache Maven > Built-By: blowagie > Build-Jdk: 1.5.0_17 > Main-Class: com.itextpdf.rups.Rups > Class-Path: itextpdf-5.2.0.jar dom4j-1.6.1.jar xml-apis-1.0.b2.jar bct > sp-jdk15-1.46.jar bcprov-jdk15-1.46.jar bcmail-jdk15-1.46.jar > Thanks Balder.
My problem was I downloaded rups with: http://voxel.dl.sourceforge.net/project/itextrups/itextrups-1.0.1.zip which contained: M Filemode Length Date Time File - ---------- -------- ----------- -------- ---------------------------- -rw-r--r-- 4435597 29-Feb-2012 12:15:22 Rups.exe -rw-r--r-- 410478 29-Feb-2012 12:15:22 itext-rups-1.0.1-javadoc.jar -rw-r--r-- 85256 29-Feb-2012 12:15:22 itext-rups-1.0.1-sources.jar -rw-r--r-- 81373 29-Feb-2012 12:15:22 itext-rups-1.0.1.jar - ---------- -------- ----------- -------- ---------------------------- 5012704 4 files I then assumed I could use that itext-rups-1.0.1.jar file to run rups. I thought maybe the Rups.exe maybe was a very simple windows exec that just did something like the linux: java -jar itext-rups-1.0.1.jar but that, as I described, was wrong. Now, your mention of: build the jar-with-dependencies and: (this is build when you do the maven build) suggested to me that there was some way to build an alternative to: itext-rups-1.0.1.jar which had the missing dependencies. So, I thought, maybe there was some maven pom.xml in itext-rups-1.0.1-sources.jar that had the jar-with-dependencies. Unfortunately, no :( OTOH, downloading with: svn co https://itextrups.svn.sourceforge.net/svnroot/itextrups/trunk showed: A trunk/pom.xml OTOOH, downloading with: svn co https://itext.svn.sourceforge.net/svnroot/itext/trunk main showed: A main/rups/pom.xml Although I've no record of running the rups/pom.xml file, there is currently these files: /home/evansl/prog_dev/itext/svn/main/rups/target: total used in directory 3908 available 26223512 drwxr-xr-x 5 evansl evansl 4096 Mar 12 19:14 . drwxr-xr-x 3 evansl evansl 4096 Feb 27 16:45 .. drwxr-xr-x 2 evansl evansl 4096 Apr 24 2011 archive-tmp drwxr-xr-x 3 evansl evansl 4096 Apr 24 2011 classes -rw-r--r-- 1 evansl evansl 3889607 Apr 25 2011 itext-rups-5.0.7-SNAPSHOT-jar-with-dependencies.jar -rw-r--r-- 1 evansl evansl 81330 Apr 24 2011 itext-rups-5.0.7-SNAPSHOT.jar drwxr-xr-x 2 evansl evansl 4096 Apr 24 2011 maven-archiver and doing this: ~/prog_dev/itext/svn/main/rups/target $ java -jar itext-rups-5.0.7-SNAPSHOT-jar-with-dependencies.jar results in the rups gui appearing. So I guess there's no need to downloading rups by itself because rups is already included in the main svn checkout. Hopefully the above information will help others avoid the dead-ends I encountered. Thanks to everyone who helped. -regards, Larry ------------------------------------------------------------------------------ This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php
