I want to work with Android, but have got several problems installing it.

First problem is the Java6. I have tried for 1 and a half hour now, but can't install it. I have downloaded the JDK6u45 (.bin) but can't install it. Is there a tutorial or maybe just an alternative for Java6? Can OpenJDK be used?

Second, I can't see an option at http://source.android.com/source/initializing.html for downloading the "Required packages" for Ubuntu 13.04

If anyone can help on one of my problems, please comment!

- Thanks.