This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Package and Classpath Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Package and Classpath" Watch "Package and Classpath" New topic
Author

Package and Classpath

anu prada
Greenhorn

Joined: May 15, 2003
Posts: 1
hello all,
I am trying the packages and class path. I have a folder javaprogs and in that I have the java files. but I created a package by name package1 in javaprogs and put some files there.
and my java files in javaprog folder I use import.package1.* and it gives me error.
how can I use the files from the package folder.
Please help!
Thanks
Corey McGlone
Ranch Hand

Joined: Dec 20, 2001
Posts: 3271
Check out this trail on Sun's site - there is a lot of great info there.


SCJP Tipline, etc.
wang weixin
Greenhorn

Joined: May 15, 2003
Posts: 6
avaprogs should be the entry point to classpath


i love java and every one in the java ranch
 
wood burning stoves
 
subject: Package and Classpath
 
Similar Threads
Java Class Won't Execute At Command Line
NoClassDefFoundError
Folders in Eclipse Java project
NoClassDefFoundError
Help? Compliation Errors