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

Tilman Hausherr commented on PDFBOX-1994:
-----------------------------------------

Yes, JRE 1.5 is ok if you're just running and not developing.

In theory, there should be an error message if the version isn't the correct 
one. Maybe Launch4J hides this.

That's why I asked you to try to
1) run java -version to be sure that it is 1.4 (which I doubt)
2) update to 1.5 if you can
3) run the jar only without .exe
4) run jstack to see where it hangs
5) run the _command line app_ with the PDFReader param to see what happens
download it here: 
http://www.apache.org/dyn/closer.cgi/pdfbox/1.8.4/pdfbox-app-1.8.4.jar
(this is not the same as the URL you mentioned!)

I do want you to solve this somehow, but please try the things mentioned. This 
isn't one of these help desks with underpaid support staff who'd ask you tons 
of useless questions just to drive you away. It is important to get rid of all 
external factors to approach the real problem.


> 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