[ale] OT: Java jar files

John Wells jbwellsiv at yahoo.com
Sun Jan 27 21:41:16 EST 2002


A .jar file has to be added to the CLASSPATH itself,
not just the directory it resides in.  So if
crimson.jar is in /usr/java/classes, for example, you
would do something like:

export
CLASSPATH=$CLASSPATH:/usr/java/classes/crimson.jar


Good luck.

John

--- Mike Millson <mgm at atsga.com> wrote:
> I am trying to get crimson to work. The instructions
> say all I have to do is
> put it in a directory that is in my classpath. I am
> running Linux RH7.1 and
> have JDK1.31._01 installed in /usr/java/jdk1.3.1_01.
> 
> /usr/java/jdk1.3.1_01 is in my classpath, and I have
> no problem compiling an
> running java programs; however, I cannot compile 
> the DOMEcho.java sample. I
> keep getting "cannot resolve symbol" errors. I guess
> because it cannot find
> the crimson classes.
> 
> Where do I put the crimson.jar file? I have tried
> everywhere I can think of:
> /usr/usr/java/jdk1.3.1_01/bin/
> /usr/usr/java/jdk1.3.1_01/lib/
> /usr/usr/java/jdk1.3.1_01/jre/lib/
> 
> Where are .jar files supposed to go?
> 
> 
> 
> ---
> This message has been sent through the ALE general
> discussion list.
> See http://www.ale.org/mailing-lists.shtml for more
> info. Problems should be 
> sent to listmaster at ale dot org.
> 


__________________________________________________
Do You Yahoo!?
Send your FREE holiday greetings online!
http://greetings.yahoo.com

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list