Hi all,

I started learning Java a couple of days ago. I have installed JDK-1.1.6 
and JRE-1.1.5 (from Chip Linux Speical CD-2) on my RHL 6.1 box. I can't get 
any Java programs to run. A program say, A.java compiles without any errors 
but when I try 'java A' then it shows an error 'Can't find file A.class' 
But the file A.class is present when I try 'ls -l'..... The default 
classpath is set as follows:
CLASSPATH=/usr/lib/jdk-1.1.6/lib/classes.zip

If I manually try to set the path like:
$set CLASSPATH=/home/Bhavin/Java

even then the same error occurs. Please help me out coz I really hate using 
windoze just to code in Java !

Also is JDK-1.2.xz (for linux) available ? Where can I download it from ?

Thanks,

regards,
Bhavin


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

-----------------------------------------------------------------------
For more information on the LIH mailing list see:
http://lists.linux-india.org/lists/LIH

Reply via email to