I am using CentOS5 and java runtime environment(version 1.6.0_17, IceTea6 1.7.5) to compile one open source project. Came with the following errors:
".... statements are only available if source level is 5.0"
I googled and found the solutions are mainly set in IDE to make the java compiler compliance with 5.0 instead of directly in a command. Could anyone suggest how to set this with command?