troubleshooting Question

compiling multiple files

Avatar of samliam
samliam asked on
Java
6 Comments1 Solution255 ViewsLast Modified:
There are many files in a package. I write a main program, a.java, that calls b in b.java, which calls c in c.java, and so on.

If I do 'javac a.java', it would automatically compile b.java, but not c.java. so it complains that class c is not found. The problem is that there are so many files and I cannot find the lowest class say, z.java. Is there a way to compile this project easily? or do I need to find z.java myself?
ASKER CERTIFIED SOLUTION
bobbit31

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros