Insert Java procedure in Problem 1

Java pretty sucks in term of project file and folder… create a
bloatware :S