>>>>> Steve Cohen writes:

    Steve> I'm having a little difficulty understanding Java 1.2's
    Steve> classpath structure.  Sun has a dcoument "Command Line
    Steve> Changes from 1.1 to 1.2".  After reading it, I'm even more
    Steve> confused.  For one thing, the Sun document mentions a file
    Steve> called rt.jar.  I don't find an rt.jar.  In the blackdown
    Steve> distribution I find in lib only tools.jar and dt.jar.

jdk1.2/jre/lib/rt.jar but there's no need to have it in your CLASSPATH.

Take a look at:

http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/classpath.html
http://java.sun.com/products/jdk/1.2/docs/tooldocs/findingclasses.html
http://java.sun.com/products/jdk/1.2/docs/tooldocs/solaris/jdkfiles.html

    Steve> In any case, I am used to supplying a classpath, via the
    Steve> classpath switch on the command line of :
    Steve> 
/usr//local/java:/usr/local/java/jdk117_v1a/lib/classes.zip:/usr/local/java/swing/swing-1.0.3/swingall.jar.

    Steve> For execution, it's the same except '.' is prepended.

    Steve> With jdk 1.2 installed in /usr/local/java/jdk1.2 what would
    Steve> be the equivalent classpath to use in 1.2 for compilation?
    Steve> For execution?

You need no classpath. Don't even set it to "".


        Juergen


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to