Java lib part 1