Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Create pdf file from a tex file using pdflatex

807569Jun 30 2006 — edited Jul 24 2006
Hi,
My problem is thet I want to use exec command inside a java program to execute pdflatex to create a pdf file from a tex file. When I use this command in command prompt, it works fine, but when I use that inside a java program, without having an error, it goes to create pdf file but it never ends. It creates an incomplete pdf file which can not be opened and deleted. For example, instead of creating a 20 KB pdf file, it creates a 1 KB file. Please let me know your guide in this subject.
Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 21 2006
Added on Jun 30 2006
13 comments
281 views