Getting data ready for Java