[ 
https://issues.apache.org/jira/browse/PDFBOX-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13944942#comment-13944942
 ] 

Andreas Lehmkühler commented on PDFBOX-1994:
--------------------------------------------

- the stack trace is explicit, at least one class is missing. You somehow mixed 
your environment. This has nothing to do with PDFBox. 
- as Tilman already mentioned PDFBox 1.8.x requires Java 1.5. So either your 
are not using PDFBox 1.8.x or your are not using a Java 1.4 environment.
- you should asked someone familiar with Launch4J how to configure it correct 
to get a working executeable or the even better idea you should think about 
using the JDK directly without a jar->exe converter.


> PDDocument.load(filename.pdf) hangs for pdf files having size
> -------------------------------------------------------------
>
>                 Key: PDFBOX-1994
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1994
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 1.8.4
>            Reporter: brijesh
>
> The below code i am using for loading my pdf. but my pdf file is not a zero 
> sized files and having full permission and it is not a corrupt file also. but 
> i ddint get any error after code. it just hangs. 
> it is working in local, but not working in server .
> (created ,jar files and then exe, then the .exe will excuted in the server)
> java using 1,4
> PDDocument pdf=PDDocument.load("d:\\filename.pdf");
> pdf.print();
> please provide me why the same code is not working in server.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to