Java console engine