glassfish
  1. glassfish
  2. GLASSFISH-28

downloaded jar should be double-clickable to run

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Won't Fix
    • Affects Version/s: 9.0pe
    • Fix Version/s: 9.0pe
    • Component/s: other
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      28

      Description

      This issue is for the download for Milestone 3:
      https://glassfish.dev.java.net/downloads/24Aug05_SCF.html

      The downloaded file should be installable just by double clicking on it. Why do
      I have to use command line to not just unjar the file, but also run the setup
      script?

        Activity

        Hide
        kumara added a comment -

        Amy did the work to create installer and gets to work on the bug too.

        Show
        kumara added a comment - Amy did the work to create installer and gets to work on the bug too.
        Hide
        Amy Roh added a comment -

        Setup script is needed for appserver initial setup.

        Paths used are specific to the local env like JAVA_HOME to create configuration
        files by replacing tokens to create your appserver installation and domain.

        Show
        Amy Roh added a comment - Setup script is needed for appserver initial setup. Paths used are specific to the local env like JAVA_HOME to create configuration files by replacing tokens to create your appserver installation and domain.
        Hide
        Amy Roh added a comment -

        Also, unjar is necessary to display license file before installation since we
        removed click through.

        Show
        Amy Roh added a comment - Also, unjar is necessary to display license file before installation since we removed click through.
        Hide
        inder added a comment -

        Why cant the double-clicking of the jar itself run ant on the setup.xml script? Is there an alternate way to
        look for JAVA_HOME property? Can we do without the JAVA_HOME env variable? As far as I know, previous
        versions of the app-server did not require JAVA_HOME.

        You can also look at some of the pre-defined system properties to better understand where java is
        available, or assume that java is already in the path.

        Show
        inder added a comment - Why cant the double-clicking of the jar itself run ant on the setup.xml script? Is there an alternate way to look for JAVA_HOME property? Can we do without the JAVA_HOME env variable? As far as I know, previous versions of the app-server did not require JAVA_HOME. You can also look at some of the pre-defined system properties to better understand where java is available, or assume that java is already in the path.
        Hide
        dochez added a comment -

        We don't need JAVA_HOME when dealing with double clicking since associations
        should have been made by the native operating system to invoke the java -jar
        command on the jar file. However that does not solve the issue that we need to
        have the -Xmx256m paramater to be used for the unjarring to work properly.

        So to fix this bug, we would really need to fix the -Xmx256m requirements, no ?

        Show
        dochez added a comment - We don't need JAVA_HOME when dealing with double clicking since associations should have been made by the native operating system to invoke the java -jar command on the jar file. However that does not solve the issue that we need to have the -Xmx256m paramater to be used for the unjarring to work properly. So to fix this bug, we would really need to fix the -Xmx256m requirements, no ?
        Hide
        Amy Roh added a comment -

        The installer builder still requires -Xmx256m. Kohsuke recently put the project
        out at https://poormans-installer.dev.java.net for us to fix its limitation, etc.

        Show
        Amy Roh added a comment - The installer builder still requires -Xmx256m. Kohsuke recently put the project out at https://poormans-installer.dev.java.net for us to fix its limitation, etc.
        Hide
        Amy Roh added a comment -

        Changing it to RFE per discussion with Jerome.

        Show
        Amy Roh added a comment - Changing it to RFE per discussion with Jerome.

          People

          • Assignee:
            Amy Roh
            Reporter:
            inder
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: