Get the java code. Save under the correct name (public name extends class should say it or something similar at the beginning. Then go to mydocs and there will be a folder called rsbot. Put the java in the scripts folder and compiler into a .class so the bot can read it.