Your c class is in the same package (default one) as your class MyClass, then the import statement is not required.
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18, 2002 8:16 AM To: Girard, Yvan Cc: [EMAIL PROTECTED] Subject: RE: Problen with compilations Thank for answer!!! I also try this and doesn't work: $ cat c.java public class c { public void c() { System.out.println("hola"); } } $javac c.java The c.class build ok $ cat MyClass.java //import SQLRConnection; import c; public class MyClass { public static void main() { // SQLRConnection con=SQLRConnection("host",9000,"","user","password",0,1); // con.delete(); } } $ javac -classpath . MyClass.java MyClass.java:2: '.' expected import c; ^ 1 error What is wrong, :( Thank for your time! Marcelo ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]