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

Passing parameters to a .jar file

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.3.0
    • install
    • x86
    • windows_nt



      Name: skT45625 Date: 11/27/2000


      java version "1.3.0"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0-C)
      Java HotSpot(TM) Client VM (build 1.3.0-C, mixed mode)

      Installation of JRE creates an association between .jar files and the command

      javaw -jar

      However, parameters passed to the jar file on the command line are not passed
      to this association. I think you need

      javaw -jar %1 %2 %3 %4 %5 %6 %7 %8 %9

      to make this work.

      Mike Piff
      (Review ID: 112869)
      ======================================================================

            jmelvin James Melvin (Inactive)
            skondamasunw Suresh Kondamareddy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: