*
The moose likes Java in General and the fly likes How Java compiler looks for the class reference on the CP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How Java compiler looks for the class reference on the CP " Watch "How Java compiler looks for the class reference on the CP " New topic
Author

How Java compiler looks for the class reference on the CP

Sagar Rohankar
Ranch Hand

Joined: Feb 19, 2008
Posts: 2902
    
    1

I just answered the question asked here.
and that popped new question for me, Why Java compiler can't find the difference between .class file and .java file while looking for the class reference ?


[LEARNING bLOG] | [Freelance Web Designer] | [and "Rohan" is part of my surname]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How Java compiler looks for the class reference on the CP
 
Similar Threads
javac and compiled class file
Unwanted StringBuilder reference at runtime
doubt in declaration
Why one public class
Compiling servlet [was: HTTP Status 404 - Servlet Login is not available]