aspose file tools
The moose likes Java in General and the fly likes Classes and Packages Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Classes and Packages" Watch "Classes and Packages" New topic
Author

Classes and Packages

nehal trivedi
Greenhorn

Joined: Dec 05, 2002
Posts: 5
Hi !
I am working on a Project at school that someone else started.
I have multiple packages in the project. When I want to compile a class, It won't compile because of the CLASSPATH Errors.
the structure is...
Proj_Name
-> Client
-> Server
-> Shared
How can I possibly compile the java code on the directory (package) "client" above ?
Thank you,
Neh
Mark Herschberg
Sheriff

Joined: Dec 04, 2000
Posts: 6035
This really belongs in the JiG Beginner forum.
In any case, you need to make sure the directories in which your source files are contained are listed in the classpath. One way to solve this is to put "." (current directory) into the classpath and the compile from the root directory.
--Mark
[ April 10, 2003: Message edited by: Mark Herschberg ]
 
 
subject: Classes and Packages
 
Threads others viewed
package/directory stuff
how make petstore work in Jbuilder?
Eclipse workspace directory
How to compile packages?
Webservice return type
MyEclipse, The Clear Choice

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture