posted 19 years ago
I have a project at c:\myproject
I have a file name as b.java in c:\myproject
I have a sub-directory named as com\sski\ in c:\myproject
In that subdirectory there is a file a.java (package of a.java is com.sski) which is using class b.
I have compiled b.java successfully, But I am unable to compile a.java
I am getting compiler error cannot resolve symbol
Sourece of a.java is as follow
i have even tried using import b;
then i get error as '.' expected
how do i successfully compile a.java, where do i place b.java.
i dont want to put b.java inside any package.