i got some source code here. the thing is that they are separated to one another. How can i compile them all? cause im use to compile single class only
+4
A:
More than one class means a project :).
Have you considered using an IDE like Eclipse? Makes life much easier and no need to compile at the console.
You could also use the javac Ant task for example (Ant is a nice build tool, easy to understand and work with).
Or you could resort to a plain javac yourPackage\*.java
at the console (javac has lots of options you could use).
dpb
2010-03-12 14:29:58
i got to check it out , thanks !
LockOn
2010-03-12 14:33:53
A:
javac *.java // or javac
find . -name \*.java
// then java TheClassWithAMainMethod
ant nice tool to compile many classes
giri
2010-03-12 14:58:28