If you don't know Java, why are you even replying? The only reason I ask here is because I'm already somewhat familiar with this community and know many members have extensive knowledge of Java. Plus my code IS for Android, so I don't think it's too big of a leap to assume someone here has some knowledge of how to get this very basic code to work. Honestly, I just CBA to make an account elsewhere
or try to navigate their F-ing terrible forum UI's.
Also, I used jk2ssh for b4a and it worked like a charm
And FYI: maybe this doesn't apply elsewhere but back when I was using unity, Java and C# are almost the exact same. I could Ctrl-F and replace certain lines to convert the code very quickly between the two languages.