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

RFE: Preventing multiple application instances when launching an application

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P5 P5
    • None
    • 1.3.0
    • client-libs
    • generic
    • generic



      Name: rlT66838 Date: 02/29/2000


      java version "1.2.2"
      Classic VM (build JDK-1.2.2-W, native threads, symcjit)

      This feature request also applies to J2SDK, SE v1.3 [RC1]

      It is a common requirement (particularly in corporate environments) when
      launching applications that only one instance of a given application be able to
      be run at a time.

      Currently if the java command (or its javaw variant) is executed multiple times
      for a given application it simply launches multiple instances of that
      application.

      The java command (and in particular its javaw variant) should be changed to
      include an additional command-line option which would allow the specification
      that only one instance of the application should be run at a time.

      In the case of the Windows javaw command if this option was specified and the
      application was already executing, control would pass to the application
      instance already executing (and if necessary reactivate the application if it
      had been minimised to the Windows task bar).

      Inclusion of this improvement to the java/javaw command would make application
      deployment easier and the acceptance of Java into the corporate application
      environment.
      (Review ID: 101834)
      ======================================================================

            mmartaksunw Michael Martak (Inactive)
            rlewis Roger Lewis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: