This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Java Beans and Packages Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java Beans and Packages" Watch "Java Beans and Packages" New topic
Author

Java Beans and Packages

Jake Chinn
Greenhorn

Joined: Apr 22, 2001
Posts: 4
Hello list,
Can anyone give me an example of how to use packages in relation to the beanbox? The Sun tutorial isn't very clear on this point and it seems like no matter what folder I put my class file in, the beanbox can't find it if the class has a package statement in it.
My package statement is "package acme.beans;".
How should my folders be setup relative to the beanbox folder, itself? Where should my class file(s) be? Where should my jar file be?
Regards,
Jake
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Since I have not a clue which beanbox that you are using, and at any rate it is just a specialized IDE, I will move this thread to that forum.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
wood burning stoves
 
subject: Java Beans and Packages
 
Similar Threads
Java Beans and Packages
packages and the classpath update
Making an Html file, I'm using Eclipse(Urgent)
finding packages
package problem