[ https://issues.apache.org/jira/browse/PDFBOX-1994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13947898#comment-13947898 ]
brijesh commented on PDFBOX-1994: --------------------------------- in server i am using j2re 4. in local java 6. but in my project (jdeveloper) , selected compiler as 1.4 . that is the reason i told that i am working in java 4 in local. i will update the jre in server to 5 or 6. then i will create .exe . i will test and inform you asap. is it sure, PDDocument.load(filename.pdf) not work for 1,4? > 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)