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

Linux: generated app cannot be started with double-click

XMLWordPrintable

    • x86_64
    • linux_ubuntu

      ADDITIONAL SYSTEM INFORMATION :
      Ubuntu 18.04, 20.04, Java 14, 15, 16

      A DESCRIPTION OF THE PROBLEM :
      Trying to run the generated "Application/bin/Application" file by double-clicking in Nautilus shows an error dialog

      ---------------------------------
      Could not display "Application"

      There is no application installed for "shared-library" files. Do you want to search for an application to open this file?
      ---------------------------------

      This used to work up until openjdk-14 GA (https://download.java.net/java/GA/jdk14/076bab302c7b4508975440c56f6cc26a/36/GPL/openjdk-14_linux-x64_bin.tar.gz)





      REGRESSION : Last worked in version 14

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      jpackage any app on Ubuntu (probably any Linux version)

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      application file is double-clickable
      ACTUAL -
      application file is not double-clickable

      CUSTOMER SUBMITTED WORKAROUND :
      Use JDK14 GA from the archive

      FREQUENCY : always


            adev Anupam Dev
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: