Can I use JAVAC to compile a project with multiple files and directories?

后端 未结 4 2110
难免孤独
难免孤独 2020-12-18 00:23

I\'m working on a very large project that has associated class files in multiple directories, all stemming from the root dir \\src.

I\'m trying to compile a file in

4条回答
  •  余生分开走
    2020-12-18 00:44

    javac comes with two options, that might help you her:

    -c path/to/one/jar;path/to/another/jar
    for libraries and
    -s path/to/src/solution/java;path/to/src/test/java
    for sourcefiles. It's worth a try.

提交回复
热议问题