Added a very crude JavaP option