Trying out some stuff with java