Hello. I am trying to create the stub file of a class which is included in a package. The class is called client.java and the package Box. The class appears in a directory called Box along with the rest classes of the package. But when I am giving the command
I get an error which says: "client.java doesn't contain type client as expected but Box.client. Please remove the file or make sure it appears in the correct subdirectory of the classpath" Why am I getting this? It is the first time that I am using rmic with packages though.
posted 11 years ago
I found the problem. I mast be at the parent directory and enter there: