Thank you for your reply Simes.
Well, I guess you can argue how good my reason is. I'm part of a large Java development project. We have previously been using Emacs, but now I would like to try Eclipse. I have been using Eclipse at home, so I am not completely new to Eclipse.
In our project we have different teams working on different parts of the project. Each project works on different parts of the package hierachy. Out project has made a small tool that should be available to all the other teams just by starting: "java Tool". But since our team is supposed to place out files in our package hierarchy, we have made a package called dk.project.outteam.tool where the classfiles for the tool is located. As I said, the Java compiler accepts this.
Is this a good way of doing things? Well, perhaps not. It is unfortunately too late to do anything about it, so now I just need to get Eclipse to accept things as they are. If that is possible