JDK-5086656 : Adding JARPATH
  • Type: Enhancement
  • Component: tools
  • Sub-Component: launcher
  • Affected Version: 1.4.2
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_xp
  • CPU: x86
  • Submitted: 2004-08-13
  • Updated: 2006-08-25
  • Resolved: 2006-08-25
Related Reports
Duplicate :  
Relates :  
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

Comments
EVALUATION Equivalent functionality was added in 6268383: Class-path wildcards, jplan feature 082
25-08-2006

EVALUATION Post tiger RFE.. ###@###.### 2004-08-13 Reassigning to TL - isn't this an AppClassloader issue? ###@###.### 10/25/04 17:08 GMT
13-08-2004