I tried to get the samples up and running but ran into
trouble when adding jars to the classpath.
I think it might have something to do with different
versions of jars files.
What versions are using on your external libraries?
crimson.jar
js.jar
mail.jar
activation.jar
The specific library I used and that gave trouble was the
js.jar file. I used the latest version "Rhino 1.5R4" found
at http://www.mozilla.org/rhino/download.html
(ftp://ftp.mozilla.org/pub/js/rhino15R4.zip)
Compile errors as shown below. It seems that the
acccess is changed from public to package private for
NativeString in later versions.
H:\projects\XmlSwingTest\sources\xmlswing\ui\TestUI.ja
va
Error: line (332) org.mozilla.javascript.NativeString
is not public in org.mozilla.javascript; cannot be
accessed from outside package
Error: line (334) org.mozilla.javascript.NativeString
is not public in org.mozilla.javascript; cannot be
accessed from outside package
Error: line (335) org.mozilla.javascript.NativeString
is not public in org.mozilla.javascript; cannot be
accessed from outside package
Error: line (336) toString() in
org.mozilla.javascript.NativeString is not defined in a
public class or interface; cannot be accessed from
outside package