Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6799791

Ubuntu: Desktop....open("myPdfFile.pdf") doesn't open with correct program

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: client-libs
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_10"
      Java(TM) SE Runtime Environment (build 1.6.0_10-b33)
      Java HotSpot(TM) Server VM (build 11.0-b15, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Ubuntu 8.10

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      Installed adobe reader from the multiverse extra repository,
      right-clicked on a PDF file and told it to open all PDF files with adobe reader

      A DESCRIPTION OF THE PROBLEM :
      Ubuntu 8.10 out of the box uses document viewer 2.24.1 to open PDF files.
      I added the multiverse ubuntu repo,
      apt-get installed acroread,
      and configured PDF files to open with that adobe reader.
      Yet Desktop.getDesktop().open("myPdf.pdf") still opens it with the document viewer.

      Thunderbird etc use the correct program for opening a pdf file: adobe reader.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      see description

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Adobe reader opened.
      ACTUAL -
      Document viewer opened.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Desktop.getDesktop().open("myPdf.pdf");
      ---------- END SOURCE ----------

        Attachments

          Activity

            People

            • Assignee:
              denis Denis Fokin (Inactive)
              Reporter:
              ryeung Roger Yeung (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported:
                Indexed: