The reason that java class files which make use of graphics can not be run
with this feature is down to the way in which the AWT
(Graphics
part of Java) makes use of peers
that are dependant on
the underlying machine architecture and implementation of the java. Or more simply
Netscape provides the AWT
layer, but uses different peers.
This is what you need to need to do in order to run java
classes.zip
from the JDK
into the same place where the Netscape
data files are kept (something like /usr/local/lib/netcape
).
The file names are different
(You might like to check, just in case) so theres no likelyhood
of overwriting essential files.
NETSCAPE_DATA_DIR=/usr/local/lib/netscape NCLASSPATH=.:$NETSCAPE_DATA_DIR/java_30:$NETSCAPE_DATA_DIR/classes.zip export NCLASSPATH |
netscape -java ..... |
netscape -java sun.tools.javac.Main -verbose java source files |