IDASRVR small bugfix, added java example