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 |
See also:
| file: /Techref/language/java/nosugar/coding/net_java.htm, 2KB, , updated: 1997/1/10 18:48, local time: 2012/5/23 22:56,
38.107.179.233:LOG IN |
| ©2012 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://www.piclist.com/tecHREF/language/java/nosugar/coding/net_java.htm"> Learning Java [using netscape to compile java]</A> |
| Did you find what you needed? |
|
o List host: MIT, Site host massmind.org, Top posters @20120523 RussellMc, IVP, alan.b.pearce, cdb, V G, Isaac Marino Bavaresco, Electron, John Gardner, Carl Denk, Dwayne Reid, * Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: None at this time. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Robotics nuts!Check out http://users.frii.com/dlc/robotics/projects/botproj.htm from Dennis Clark. This guy ROCKS! He has made (and sells but also releases code, docs, etc...) for a number of cool little robotic modules including whiskers, IR proximity detect and remote control, Sonar proximity detect, PWM, Servo, compass. Most of these use the little PIC 12C508 controller which costs basically nothing and is soooo tiny.The 4 servos, 2400 baud serial servo controller is a wonder of magic and he sells the programmed chip for $8. Wow! |
.