Where did you download a bin file from? In any event, let's get back ontrack. You can safely delete the bin file, then go into ubuntu softwarecenter and install java.