Calling java with wildcards in classpath fails

前端 未结 1 988
心在旅途
心在旅途 2021-02-14 21:03

I have some jars in the current directory, all needing to be in the class path, so I want to use the wildcards convention for classpath. The command line is:

jav         


        
相关标签:
1条回答
  • 2021-02-14 21:51

    I found it, under Windows quotes around the wildcarded classpath are required.

    But not required if you specify jars explicitly, explaining why the second command works.

    Weird.

    0 讨论(0)
提交回复
热议问题