Hello everybody,
 
Im working in an ND project. Previously our application worked fine in ND3.1.1(with built-in jdk).  But now due to ND3.1's non compliancy with Y2K, we have installed compliant ND3.1.3 with jdk 1.1.6. Now the problem is what are the files compiled in the previous version, are not compiling with this version. Please help me to get around this problem. The errors i got while compiling a
java file 'myprogram' are mentioned below. NB: 'myprogram' is also a package with 'myprogramutil' file which contains user defined classes.
 
 
.\myprogram.java:15: Class myprogram.myprogram already defined in C:\Spider\NetDynamics20\Projects\myprogram\myprogram.java.
public class hrmx extends CSpProject
             ^
error: File .\myprogram.java does not contain type myprogram as expected. Please adjust the class path so that the file does not appear in the unnamed package.
C:\Spider\NetDynamics20\Projects\myprogram\myprogram.java:9: Ambiguous name: myprogram is both a class and a package.
import myprogram.myprogramutil.*;
       ^
Thanks in advance

Reply via email to