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:[email protected]]
Sent: November 9, 2015 1:35 PM
To: [email protected]
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:[email protected]]
> Sent: November 9, 2015 12:15 PM
> To: [email protected]
> Subject: Re: Get PDFBox working
>
> Hi,
>
>
>> Am 09.11.2015 um 20:09 schrieb Gordon Schneider
>> <[email protected]>:
>>
>> 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: [email protected]
> For additional commands, e-mail: [email protected]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]