Hello All,
I'm struck at compiling JavaBeans which are packed inside a package. Here is how it looks like (BTW I'm not using any
IDE):
I have the JDK lib and .(current dir) in my CLASSPATH env variable.
I'm compiling the two files like this:
javac -d D:\workspace\ab\WEB-INF\classes A.java
This works
But, when i try to compile the other file, as shown here:
set CLASSPATH=D:\workspace\ab\WEB-INF\classes\com\somecomp\foo\Author.class;%CLASSPATH%
javac -d D:\workspace\ab\WEB-INF\classes B.java
I get a compilation error saying-
error: error reading D:\workspace\ab\WEB-INF\classes\com\somecomp\foo\Author.class; java.util.zip.ZipException: error in opening zip file
........ cannot find symbol
Pls. help