[494] in java-interest

home help back first fref pref prev next nref lref last post

Still confused on classpath

daemon@ATHENA.MIT.EDU (Jeffrey Perry)
Sun Jun 25 19:24:04 1995

To: java-interest-digest@java.sun.com
Cc: perry@OpenMarket.com
Date: Sun, 25 Jun 1995 18:43:56 -0400
From: Jeffrey Perry <perry@OpenMarket.com>

I am still trying to figure out the CLASSPATH enviroment variable and how
it is used in compiles and also by HotJava. Perhaps someone could clarify this
for me.

1) Does HotJava itself use this environment variable?
   I believe it does because jpayne from starwave has a warning in his
   embedded component docs saying that new classes such as his need to be
   in CLASSPATH when compiling but should not be when running HotJava or
   you will not be able to run applets using the classes but located somewhere
   else.

2) Do I need a final slash on directory names in the CLASSPATH environment
   variable?
 
3) If the class is in directory /hotjava/mydev/classes should i put
   /hotjava/mydev/classes in the path or just /hotjava/mydev ?
   I may be getting confused with the SRC part of the apptag.

4) Is there any way to tell the AppletViewer applet to use CLASSPATH rather
   than having to manually tell it where to look?

5) How do directories under a class directory in the CLASSPATH handled?
   Are they searched automatically? If the user specifies explicitly the 
   package name in the html source? ex: app.TestPanel3

This stuff is really getting frustrating...I want to get on with the 
programming

Sun doc people: when you get time and revise the manuals please put some
discussion of this into them. Thanks

Jeff

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post