Title: RE: CLASSPATH
sorry for the misunderstanding, but inside .tcshrc I wrote
set CLASSPATH = ( /usr/java/lib/tools.jar ~/jars/ )
and when I run simple Hello I get the message
Exception in thread "main" java.lang.NoClassDefFoundError: Hello
Batsheva
-----Original Message-----
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 9:18 AM
To: '[EMAIL PROTECTED]'
Subject: RE: CLASSPATH

Unix variable names are case-sensitive: try setting "CLASSPATH", not "classpath".
 

                                                            -- Bill K.

-----Original Message-----
From: Batsheva Raviv [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 9:11 AM
To: [EMAIL PROTECTED]
Subject: RE: CLASSPATH

Thank you,  very much.
but could you help me set the classpath in unix I am running .tcshrc
I used to have .cshrc and it worked fine but now I can even compile a simple Hello.java
Batsheva
-----Original Message-----
From: Grewal, Gary [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 8:39 AM
To: '[EMAIL PROTECTED]'
Subject: RE: CLASSPATH

I think you are trying to access javax.naming.* and not javax.util.naming.* Try that and then see

===
Gary Grewal


-----Original Message-----
From: Batsheva Raviv [mailto:[EMAIL PROTECTED]]
Sent: Thursday, March 29, 2001 10:40 AM
To: Tomcat Usr (E-mail)
Subject: CLASSPATH


I am facing problems setting the classpath in win2k and sun4.
for some reason suddenly when I write import javax.util.naming.*;
I get error: package javax.util.naming does not exist.
Isn't it part of the tools.jar package in 1.3?
my setting are
win2k
I entered it in "control panel"
CLASSPATH=C:\tomcat\lib\servlet.jar;C:\tomcat\lib\ant.jar;C:\tomcat\lib\jasp
er.j
ar;C:\tomcat\lib\parser.jar;C:\tomcat\lib\webserver.jar;C:\jdk1.3.0_02\lib\t
ools
.jar;C:\tomcat\ems\ems\WEB-INF\classes
( I copied it from command set)
Unix
set classpath (usr/java/lib/tools.jar  ~/jars/)
when I type set I get :
classpath (usr/java/lib/tools.jar /home/braviv/jars/)

please help,

Batsheva

Reply via email to