1 Reply Latest reply: Feb 22, 2008 8:46 AM by 791266 RSS

    open a PDF file in linux using java

    807603
      Hi..
      How can I open a PDF file in linux using java.
      I am able to open PDF in windows and mac using this code

      in Windows
      Runtime.getRuntime().exec("rundll32 url.dll,FileProtocolHandler " + path_of_PDF);

      in mac
      Runtime.getRuntime().exec("open " + path_of_PDF);

      But nothing is working with linux.
      Please help

      Thanks