Try changing Java.io.IOException to java.io.IOException
Java is case sensitive.

Nikhil

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
] On Behalf Of Rajat
Sent: Thursday, August 21, 2003 8:39 PM
To: The Linux-Delhi mailing list
Subject: [ilugd] errors compiling java code in kaffe


hi,
        I have installed kaffe. and when I try compiling 
my java code including the statement:

 throws  Java.io.IOException

I get these errors. 

Found 3 semantic errors compiling "calc.java":
     3.          throws  Java.io.IOException
                         ^--^
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Package "Java" could not be found
in:
                /usr/share/kaffe/Klasses.jar
 
     3.          throws  Java.io.IOException
                              ^^
*** Semantic Error: You need to modify your classpath, sourcepath,
bootclasspath, and/or extdirs setup. Package "Java/io" could not be
found in:
                /usr/share/kaffe/Klasses.jar

     3.          throws  Java.io.IOException
                                 ^---------^

What am i doing wrong? What is my class path? am I missing any files? I
installed kaffe using dselect.

--
Rajat.


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd


_______________________________________________
ilugd mailing list
[EMAIL PROTECTED]
http://frodo.hserus.net/mailman/listinfo/ilugd

Reply via email to