-source release
Specifies the version of source code accepted. The following values for release are allowed:
The compiler does not support assertions, generics, or other language features introduced after JDK 1.3.
The compiler accepts code containing assertions, which were introduced in JDK 1.4.
The compiler accepts code containing generics and other language features introduced in JDK 5.
Synonym for 1.5.
This is the default value. No language changes were introduced in Java SE 6. However, encoding errors in source files are now reported as errors, instead of warnings, as previously.
Synonym for 1.6.

-target version
Generate class files that target a specified version of the VM. Class files will run on the specified target and on later versions, but not on earlier versions of the VM. Valid targets are 1.1 1.2 1.3 1.4 1.5 (also 5) and 1.6 (also 6).

The default for -target depends on the value of -source: