File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Package and Classpath

 
anu prada
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3271
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out this trail on Sun's site - there is a lot of great info there.
 
wang weixin
Greenhorn
Posts: 6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
avaprogs should be the entry point to classpath
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic