aspose file tools*
The moose likes Beginning Java and the fly likes Packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Packages" Watch "Packages" New topic
Author

Packages

Venkatramani
Greenhorn

Joined: Sep 18, 2001
Posts: 2
I am unable to access a public class in a default package, from a class inside a specific package.This happens inspite of setting the classpath to the default package class.
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
In that case it is likely that you have not named the classpath correctly. What is the directory structure that the public class is in, and show us your classpath.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
Consider Paul's rocket mass heater.
 
subject: Packages