Some changes added to compile and run with Java 6 and Java 7.

  - correction of errors with Javac 6:
    - target 1.5 and source empty.

Change-Id: Ib6c4cb26e536d8ba9846e3d2d19c9a9bf4bf12ed
Signed-off-by: Jerome Pilliet <pilliet@univ-mlv.fr>