Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resolving dependencies using javac

Status
Not open for further replies.

dendenners

Programmer
Jul 17, 2001
110
IE
Hi there,
I write my code using vim and compile using javac on the command line. This is fine except for one problem - javac isn't clever enough to resolve class dependencies for classes in different folders. Does anyone know a way around this without having to use some crappy environment like jbuilder? Thanks
 
if your classes rely upon classes in other folders, you should fully qualify their names using their package name. this way javac will have no problems. ensure that the package root is in your classpath also
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top