c and java file