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

Java launcher should allow option to specify alternate process name

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Won't Fix
    • Icon: P4 P4
    • None
    • 1.4.2
    • tools
    • None
    • generic
    • generic


      When running multiple Java applications on a system you end up with
      a bunch of processes named 'java' which makes it difficult to figure
      out which process belongs to which application. This is especially true
      on Windows and the Mac where the GUI "process" tools don't show command
      line arguments (which are often useful in identify which java is which).

      It would be useful to have an option to the java launcher to have it use
      an alternate name (argv[0]) for the process that is the JVM.

      For example

      java -Xpname:myjava

       

            darcy Joe Darcy
            jdipol Joe Dipol
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: