wood burning stoves 2.0*
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


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Regardiung compilation java classes " Watch "Regardiung compilation java classes " New topic
Author

Regardiung compilation java classes

raj talatam
Ranch Hand

Joined: Apr 19, 2012
Posts: 87
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
Raj
Ivan Jozsef Balazs
Rancher

Joined: May 22, 2012
Posts: 867
    
    5
They are compiled at the same time.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Regardiung compilation java classes