Name: gm110360 Date: 02/11/2002
FULL PRODUCT VERSION :
java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build co130-20010925 (JIT enabled: jitc)
)
FULL OPERATING SYSTEM VERSION :
All
A DESCRIPTION OF THE PROBLEM :
Netbeans (among other things) has a huge classpath and under
some platform the cmdline string becomes so long the OS will
reject with it "line too long". This is becoming a trend
among all other big Java programs.
I therefore propose you standardize support for @<filename>
switches. Instead of:
"java -classpath <some long string>"
one could specify:
"java -classpath @myfile.txt"
and specify the actual classpath value inside "myfile.txt"
This will solve all command-line length limitations across
all platforms.
This bug can be reproduced always.
(Review ID: 139531)
======================================================================
- duplicates
-
JDK-4326573 need @file syntax for all command tools, not just jar/javac/javah
- Closed