开发者

Java compiling a .java using precompiled .class files

开发者 https://www.devze.com 2023-01-28 23:31 出处:网络
Is it possible to use the javac to compile a .java that requires other classes without ja开发者_高级运维vac

Is it possible to use the javac to compile a .java that requires other classes without ja开发者_高级运维vac returning "cannot find symbol"

Thanks!


It is possible, by using the -classpath option.

You'll find all the information you need about javac here.


first compile other classless then this one

0

精彩评论

暂无评论...
验证码 换一张
取 消