Including jars in classpath on commandline (javac or apt)

前端 未结 6 1184
礼貌的吻别
礼貌的吻别 2020-11-22 05:44

trying to run this program. I think that to setup all of the web service stuff I need to run apt. (Although using javac I am having the same issue). I think what I am get

6条回答
  •  暖寄归人
    2020-11-22 06:22

    In windows:

    java -cp C:/.../jardir1/*;C:/.../jardir2/* class_with_main_method
    

    make sure that the class with the main function is in one of the included jars

提交回复
热议问题