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

Env. variable _JAVA_OPTIONS needs to be public/documented

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Won't Fix
    • Affects Version/s: 1.3.0
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      None
    • Subcomponent:
    • CPU:
      generic
    • OS:
      generic

      Description

      The customer (a tools vendor) needs a mechanism for passing command line
      options to java in circumstances where the command line is not available
      for modification. This includes situations where java is invoked by
      fork/exec from another application or where java is embedded in a larger
      application.

      The primary purpose is to provide java runtime profiling, thread usage, and
      code coverage in the context of large client/server applications (simple
      example: servlets). The proposed uses would be causing a JVMPI module to
      be loaded and/or altering the bootclasspath.

      Currently there exists an environment variable _JAVA_OPTIONS which can be
      used to do exactly this, although it is not documented and therefore not
      public/supported. This variable is honored by classic, exactvm, and hotspot. (See bug 4279475 - adding this feature to hotspot).

      Please document the use of the variable.

        Attachments

          Activity

            People

            Assignee:
            asommere Alan Sommerer (Inactive)
            Reporter:
            foliversunw Fred Oliver (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: