Java compiling a .java using precompiled .class files
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
精彩评论