[ 
https://issues.apache.org/jira/browse/PDFBOX-4059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Harish Thalla updated PDFBOX-4059:
----------------------------------
    Attachment: Error_Msg.txt

Hi Tilman,

Thank you for your prompt reply. I did not get your email reply from the 
mailing list and that's why I opened a JIRA issue.
As you have suggested, I used the following command and I am now getting a 
different error.

java -cp ".;c:\java_test\pdfbox-app-2.0.8.jar;c:\oracle\Java\jdk1.6.0_38\lib\*" 
org.apache.pdfbox.tools.PDFToImage -imageType png -dpi 150 2075032_BAC.pdf

Error message -
Exception in thread "main" java.lang.UnsupportedClassVersionError: 
com/levigo/jbig2/JBIG2ImageReaderSpi : Unsupported major.minor version 51.0

I have attached the detailed error message in the attachment.
Please note with this command I am not even able to convert PDF documents that 
do not have JBIG2 image and have converted successfully with the earlier 
command.

The folder C:\oracle\Java\jdk1.6.0_38\lib does exist.

Thanks,
Harish.




> Issue with JBIG2 Image type for PDF conversion using PDFBOX
> -----------------------------------------------------------
>
>                 Key: PDFBOX-4059
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4059
>             Project: PDFBox
>          Issue Type: Bug
>          Components: JBIG2
>    Affects Versions: 2.0.8
>         Environment: Windows 7
>            Reporter: Harish Thalla
>         Attachments: 1773433_WILL.pdf, Error_Msg.txt
>
>
> I am trying to use PDFBox 2.0.8 tool to convert PDF documents to Image files 
> for one of our IT Projects . I am getting an error when doing this conversion 
> due to JBIG2 image conversion.
> I am getting the following error.
> SEVERE: Cannot read JBIG2 image: jbig2-imageio is not installed.
> I downloaded levigo-jbig2-imageio-2.0.jar, jbig2.jar and 
> JBIG2-Image-Decoder.jar files from https://pdfbox.apache.org and tried to use 
> them but still getting the same error. My command line on DOS is as follows.
> java -cp "C:\oracle\Java\jdk1.6.0_38\lib\*" -jar 
> c:\java_test\pdfbox-app-2.0.8.jar PDFToImage 1449355_Fax.pdf
> Any help to resolve this issue will be greatly appreciated. Thanks,



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to