Hi karthikeyan,

Did'nt you send cc.jar to linux using FTP ascii mode?

I suppose your cc.jar is corrupt. 
Try following command. On windows, it will display file lists 
inside jar, but on linux, it may not list files.

jar tvf cc.jar

regards,
Watanabe
In the message "Strange Compilation Problem"
               <005b01c20b66$27d44e30$0600a8c0@aspire006>
karthikeyan <[EMAIL PROTECTED]> wrote:


> Dear All,
> �
> ��I have a strange compilation problem.� I am able to compile a java program
> here on WinNT(jdk1.3) Platform without any problems but the same program I am
> not able to compile on Ret Hat Linux 7.1(jdk1.3.1_02).
> �
> � Now to compile this program I need to include a jar file (somname.jar) in the
> classpath.� Which I did on both the environment.
> �
> � For WinNT
> �
> � set classpath=%classpath%;c:\karthik\cc.jar;
> �
> � For Linux
> �
> ��CLASSPATH=$CLASSPATH:/usr/local/lib/cc.jar
> � export CLASSPATH
> �
> ��But on Linux platform I am getting the following errors :
> �
> ��for package name it says -�package somepackagename does not exist
> �
> � and for classes that comes inside the package which ofcourse is being used by
> this program�� I am getting
> �
> � cannot resolve symbol error.
> �
> �
> � Now could you believe it I know that if I put any jar files inside
> �
> � c:\JAVA_HOME\jre\lib\ext\
> �
> � the above directory I do not need to set classpath for the jar files inside
> those directory, it will be taken automatically when compiling.� Which worked
> for WinNT environment.� But the same thing if I do for Linux it doesn't work.
> �
> � Now we can specify classpath when we are trying to compile like this.
> �
> � javac -classpath <path> - but this works well for directories but not for
> .jar files.
> �
> � Now what I am doing wrong here.�
> �
> � Looking forward for yours response.
> �
> karthikeyan.
> �
> 
>-------------------------------------------------------------------------------------------------------------
> Judge not, that ye be not Judged - Abraham Lincoln's favorite quote
> 
>-------------------------------------------------------------------------------------------------------------

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to