Disclaimer: I'm trying to use jdk1, but loaded the j2sdk to try to run some educational samples. Now my question... When I try to compile my class, I get about 64 errors on things that "I'm not even using". I suspect they're nested in some class I'm trying to import (C:\j2sdk1.4.1_01\java\io\ObjectInputStream.java, sun.security..., etc), and I probably don't have something quite right either in my pathing, or WHERE I've put things. Is there some "sacred place to put things"? My version is...(on Windows2K) C:\Dev\Java>java -version java version "1.4.1_01" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode) My imports are... import java.io.*; import java.lang.*; import java.awt.*; import java.awt.event.*; It's possible I don't really need the java.io.*, but I don't know how to tell, & it was in the sample. My pathing is...(this may be overkill) PATH=C:\WINNT\SYSTEM32;C:\WINNT;C:\WINNT\SYSTEM32\WBEM;C:\PROGRAM FILES\INFORMIX\BIN;C:\JDK1.1.8\bin;c:\vslick\win;C:\JDK1.1.8\BIN; C:\j2sdk1.4.1_01;C:\j2sdk1.4.1_01\lib;c:\j2sdk1.4.1_01\bin CLASSPATH=.;C:\java;C:\j2sdk1.4.1_01;C:\jdk1.1.8;c:\jdk1.1.8\bin The errors are... C:\Dev\Java>javac FileEdit.java C:\j2sdk1.4.1_01\java\security\AccessController.java:10: Class sun.security.util.Debug not found in import. import sun.security.util.Debug; C:\j2sdk1.4.1_01\java\io\ObjectInputStream.java:2201: Variable MAX_BLOCK_SIZE can't be static in inner class java.io.ObjectInputStream. BlockDataInputStream. Only members of interfaces and top-level classes can be static. I've searched the other posts here (& elsewhere) but can't seem to find the answer on Starting at SquareOne. ; ) Thanks for the help, AND the understanding. -Bill.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.