To do this on the Mac, download the files to your Desktop.

Then, open Terminal (in Applications/Utilities). From there, type:
cd Desktop
then
java -jar riorid.jar empeg <empeg-IP-address> " " missing

No neeed to worry about having Java downloaded and installed properly, since all the system updates Apple releases takes care of that.