Arduino + Asus EEEPC works

I need some help. I followed the instructions outlined here to get Arduino working on a different eeePC and everything worked fine. So I ordered a couple 2G Surfs for my electronics class. I went through the instructions exactly as outlined and I get:

./arduino: line 16: java: command not found

I'm a total n00b when it comes to Linux, so any help would be greatly appreciated. So far I've tried:

  • Restarting
  • Running the update and install commands again (tells me everything is up to date)
  • Tried "sudo update-java-alternatives -s java-1.5.0-sun" but it told me the command was not found

So far I've only tried this on one of the two I ordered.

Any help would be greatly appreciated.

New Addition:
Java seems to be working, I downloaded Processing and it seems to run fine.