|
Java file organization follows these guidelines:
Note: For 1.2 it is no longer necessary to set CLASSPATH for the runtime library. By default, it will be found relative to the directory of the binary files (e.g. c:\java\bin), which is set in the PATH environment variable. Similarly, in 1.2 if you set the CLASSPATH, it does not need to include the runtime library, e.g. if your use set CLASSPATH c:\programs javac would still look first in c:\java\jre\lib\rt.jar for the runtime files before looking in c:\programs for files not found there. The classpath can also be set in the command line: > java -classpath c:\programs myBesselProgram Note: the archive files, ZIP or JAR, maintains the file structure. One can think of a JAR file as a file directory within a file. We can, for example, look at the contents of the rt.jar file that holds most of the core Java classes. Here we use the
jar tool to display some of the files.
Note that the files are listed with their directory structure included. For example, the java/applet/* files correspond to the java.applet package.
|
||||||||||||
|
|||||||||||||