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

Adding JARPATH

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Duplicate
    • P4
    • None
    • 1.4.2
    • tools
    • x86
    • windows_xp

    Description

      Name: js151677 Date: 08/13/2004


      A DESCRIPTION OF THE REQUEST :
      When a Java application needs many jar files, one has to put these jar files into CLASSPATH.

      JUSTIFICATION :
      It is not convenient to put many jar files into CLASSPATH.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Using JARPATH (either an option or an environmental variable), one can specify the search paths for jar files. All jar files in the paths specified in the JARPATH will be automatically included in the CLASSPATH.

      ---------- BEGIN SOURCE ----------
      For example, if I have two jar files a.jar, b.jar in the path /home, then I will have to invoke my application by
      java -classpath /home/a.jar:/home/b.jar MyApp

      If there is a jarpath option, then I can
      jar -jarpath /home MyApp

      When there are many jar files, this option would be very handy.

      ---------- END SOURCE ----------
      (Incident Review ID: 296821)
      ======================================================================
      ###@###.### 10/25/04 17:08 GMT

      Attachments

        Issue Links

          Activity

            People

              martin Martin Buchholz
              jssunw Jitender S (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: