I am currently facing a tricky situation where in i have to compile a Java file whose package name have "enums" in it . (It was created using Java 1.4) . Currently the server on which the code is present have Java 1.5 . I need to compile the file on the server . Can any 1 assist me with it .
I cannot rename the file as this is used in several other packages . Need help in compiling the file without changing it . I believe it would be solved if compiled in Java 1.4 . But in unix i cannot compile it independently using java 1.4