A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Java in General
open a file pdf in unix using java
Joined: Feb 26, 2008
May 06, 2008 06:35:00
I have a file
in a path in SO UNIX and I need open this file with
In windows I have used :
Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + fichpdf);
In unix I don't know do.
Joined: Sep 12, 2009
May 16, 2010 16:00:11
has anyone got a reply to this ? I have the same problem
Joined: Mar 22, 2005
May 16, 2010 16:19:19
I think the Acrobat Reader can be started from the command line in Unix.
Ping & DNS
- my free Android networking tools app
Joined: Oct 27, 2005
May 17, 2010 02:08:47
If there is a proper file association then Desktop.open should work. Otherwise you would need to explicitly give the command, including the path to the PDF program (Acrobat Reader, XPDF, ???).
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
subject: open a file pdf in unix using java
Opening pdf from html
How to open a local file in Java program
proxy servlet for pdf byte serving
problem with opening pdf file on linux machine
what java open source can create PDF file ?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014