Having nothing but problems packaging applet class files and jarring them...
I have created a package of classes. When I dont jar them up and just reference them with the CODE="myclass.class" tag, everything is peachy.
When I jar them up however, it all goes pear shaped.
I set the ARCHIVE tag to "mypackage.jar", and have set the CODE tag to "myclass.class", "myclass", "mypackage/myclass" etc etc. The closest I get is 'java.lang.NoClassDefFoundError: myclass (wrong name: mypackage/myclass)'.
I've downloaded other peoples jar files containing classes, and can call them ok, and I'm now at a complete loss...
Thanks in advance.
Tim
I have created a package of classes. When I dont jar them up and just reference them with the CODE="myclass.class" tag, everything is peachy.
When I jar them up however, it all goes pear shaped.
I set the ARCHIVE tag to "mypackage.jar", and have set the CODE tag to "myclass.class", "myclass", "mypackage/myclass" etc etc. The closest I get is 'java.lang.NoClassDefFoundError: myclass (wrong name: mypackage/myclass)'.
I've downloaded other peoples jar files containing classes, and can call them ok, and I'm now at a complete loss...
Thanks in advance.
Tim