Update java code to 1.4
Added missing files