This content has been marked as final. Show 3 replies
Do you mean enum? Enums shouldnt be a problem. I would make the effort to rename the package, an ide should make that easy.
If you must go down the compile path, check out the -source and -target arguments for javac.
The problem is that the file cannot be renamed as it is having dependencies in other packages . I need the package to be compiled as it is but in java 1.4
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