I tried to install jdk/jre:
ben@ubuntu:~$ sudo apt-get install openjdk-7-jre-headless
However, I got this message:
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable) E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
I cannot get git to install either, so I don't think it is a problem with the specific package I selected. What that error means, and how to deal with it?