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 |
file: /Techref/language/java/nosugar/coding/net_java.htm, 2KB, , updated: 1997/1/10 17:48, local time: 2024/11/17 18:20,
3.133.146.246:LOG IN
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://techref.massmind.org/techref/language/java/nosugar/coding/net_java.htm"> Learning Java [using netscape to compile java]</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Welcome to techref.massmind.org! |
.