File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Regardiung compilation java classes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regardiung compilation java classes " Watch "Regardiung compilation java classes " New topic

Regardiung compilation java classes

raj talatam
Ranch Hand

Joined: Apr 19, 2012
Posts: 92
Hi every One ,

i have 3 java classes for example COne, CTwo,CThree . COne depends on CTWo, Ctwo depends On CThree , So to compile COne i must first compile CTWo, and CThree, if i issue javac -d . *.java , it is working fine my question how java compiler recognizes the order of the java files to compile to produce class files

Thanks regards
Ivan Jozsef Balazs

Joined: May 22, 2012
Posts: 970
They are compiled at the same time.
I agree. Here's the link:
subject: Regardiung compilation java classes
It's not a secret anymore!