Try:

export CLASSPATH=<all_the_libraries>

Note the = 

Regards

Andy 

> -----Original Message-----
> From: Eliezer Chavez [mailto:[EMAIL PROTECTED] 
> Sent: 25 March 2004 07:36
> To: [EMAIL PROTECTED]
> Subject: Problems with my classpath?
> 
> 
> When i run my application with
> java -classpath <all_the_libraries> runs well
> 
> But when i run normally:
> export CLASSPATH <all_the_libraries>
> Then
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/apache/log4j/PropertyConfigurator
>         at 
> com.banvenez.xpert.integrity.util.AppLog.<init>(AppLog.java:12)
>         at
> com.banvenez.xpert.integrity.util.AppConfig.<clinit>(AppConfig
> .java:12)
>         at
> com.banvenez.xpert.integrity.IntegrityMain.<clinit>(IntegrityM
> ain.java:13)
> 
> An interesting note is when i get the java.class.path 
> property dosn't return me anything, this can happen?
> 
> Why this is happening?
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to