L
Luca Ferrari
Hi all,
I've developed two classes (package1.class1 and
package1.subpackage.class2), compiled and put into a jar from the
command line (jar cvf package1.jar package1/). Now, using netbeans, I
can mount the jar seeing the code completion working fine, but when I
try to compile I get an error like: class class2 is public and should be
declared in a file named class2.
Classes are ok (public and declared in rightly named files), so I cannot
guess what is wrong.
Any idea?
Luca
I've developed two classes (package1.class1 and
package1.subpackage.class2), compiled and put into a jar from the
command line (jar cvf package1.jar package1/). Now, using netbeans, I
can mount the jar seeing the code completion working fine, but when I
try to compile I get an error like: class class2 is public and should be
declared in a file named class2.
Classes are ok (public and declared in rightly named files), so I cannot
guess what is wrong.
Any idea?
Luca