Add some basic java examples.