pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gordon Schneider <schneid...@transampiping.com>
Subject RE: Get PDFBox working
Date Mon, 09 Nov 2015 22:31:37 GMT
I got it to work with running the command as follows:

JAVA CLASS('/java/PDFBox/pdfbox-app-2.0.0-RC1.jar') PARM(ExtractText '/CUSTOMER/PaymentAdviceNote.pdf'
'/CUSTOMER/PA.txt')

Thanks for all your help.


-----Original Message-----
From: Tilman Hausherr [mailto:THausherr@t-online.de] 
Sent: November 9, 2015 1:35 PM
To: users@pdfbox.apache.org
Subject: Re: Get PDFBox working

Am 09.11.2015 um 21:23 schrieb Gordon Schneider:
> Maruan
>
> I am not a java programmer. Not sure how to apply the snapshot. Please advise how to
do this.

I think Maruan was mistaken here, PDFBOX-2976 was about broken FLate-encoded streams in a
PDF, but your problem is that you can't even start the programme.

If you start

java -jar pdfbox-app-2.0.0-RC1.jar


then there should be a help output. Do you get that?

Tilman

>
> Thanks
>
> Gord
>
>
> -----Original Message-----
> From: Maruan Sahyoun [mailto:sahyoun@fileaffairs.de]
> Sent: November 9, 2015 12:15 PM
> To: users@pdfbox.apache.org
> Subject: Re: Get PDFBox working
>
> Hi,
>
>
>> Am 09.11.2015 um 20:09 schrieb Gordon Schneider <schneiderg@transampiping.com>:
>>
>> I downloaded version 2 RC1 standalone binary to my PC. I eventually got it working
on my PC to extract the text from a PDF document.
>>
>> I uploaded this file to our power server running IBM I V7.1. When I try to get the
program running on the server I am getting the following error:
>>
>> Exception in thread "main" java.util.zip.ZipException: error in 
>> opening zip file
> there has been a fix after the RC1
>
> https://issues.apache.org/jira/browse/PDFBOX-2976
>
> Could you try the latest snapshot?
>
> BR
> Maruan
>
>
>> The command I am running is the following:
>>
>> JAVA CLASS('pdfbox-app-2.0.0-RC1.jar') PARM(ExtractText 
>> '\CUSTOMER\PaymentAdviceNote.pdf' '\CUSTOMER\PA.txt')
>>
>> My best guess is my java class path or some other java environment variable is wrong.
>>
>> Is Java 6 required for version 2 RC1?
>>
>> Thanks
>>
>>
>> Gordon Schneider
>> 403-236-0601
>> Trans Am Piping Products Ltd.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
> For additional commands, e-mail: users-help@pdfbox.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: users-help@pdfbox.apache.org


Mime
View raw message