Java files and samples