Java stuff.