FULL PRODUCT VERSION :
java version " 1.7.0_09 "
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP Pro SP3
A DESCRIPTION OF THE PROBLEM :
" java -cp lib/* some.Main " does not work, because java does load any jars from the lib directory as expected. An additional ; fixes the problem: " java -cp lib/*; some.Main " works as expected. This looks like a command line parsing problem for me. If not, please document this behaviour.
REPRODUCIBILITY :
This bug can be reproduced always.
java version " 1.7.0_09 "
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) Client VM (build 23.5-b02, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Windows XP Pro SP3
A DESCRIPTION OF THE PROBLEM :
" java -cp lib/* some.Main " does not work, because java does load any jars from the lib directory as expected. An additional ; fixes the problem: " java -cp lib/*; some.Main " works as expected. This looks like a command line parsing problem for me. If not, please document this behaviour.
REPRODUCIBILITY :
This bug can be reproduced always.
- duplicates
-
JDK-7146424 Wildcard expansion for single entry classpath
- Closed