asterisk in classpath does not work as expected on windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • None
    • Affects Version/s: 7u9
    • Component/s: tools

      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.

            Assignee:
            Kumar Srinivasan
            Reporter:
            Mala Bankal (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: