javac classpath option with multiple jar files in current directory causing error

后端 未结 2 378
庸人自扰
庸人自扰 2020-12-11 04:28

Environment: Windows 7, Java 6.

Trying to compile a .java file with -cp option. The file uses a single jar file that\'s in the current directory ALONG WITH some othe

2条回答
  •  天涯浪人
    2020-12-11 05:27

    use backslash in windows?

    try

    javac -cp .\* MyFile.java

    also note Broken wildcard expansion for Java7 commandline on Windows(7?)

提交回复
热议问题