I tried compiling my webapplication with javac – source 1.5 – target 1.4
I end up with the error:
javac: source release 1.5 requires target release 1.5
Since I’m using generics and other features; when I try compiling with –source 1.4
I end up with the errors:
(use -source 5 or higher to enable generics)
(use -source 5 or higher to enable for-each loops)
(use -source 5 or higher to enable annotations)
I need to deploy to a box with Java 1.4 installed; of which I have no control of, so upgrades are out of the question.
Suggestions?