JDK-4626998 : (RFE) Allow "-cp" option to javac to set classpath
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 5.0
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2002-01-23
  • Updated: 2003-04-12
  • Resolved: 2002-09-02
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.2 mantisFixed
Related Reports
Relates :  
Description
The "java" command line supports both "-classpath" and "-cp" options to set the class path.  Currently "javac" only supports the former; it would be convenient if it supported the latter as well.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: mantis mantis-b02 FIXED IN: mantis mantis-b02 INTEGRATED IN: mantis mantis-b02
14-06-2004

WORK AROUND Remember to type out "-classpath".
11-06-2004

PUBLIC COMMENTS javac now recognizes -cp as a synonym for -classpath.
10-06-2004

EVALUATION Reasonable, but must be done in a "dot" release. ###@###.### 2002-03-12 This option will be available in Tiger (1.5). ###@###.### 2002-08-28
12-03-2002