Posted by Richard Cooper | Filed under Uncategorized
Just ran into a small problem installing openjdk in an Ubuntu Oneiric instance on EC2. It took a while to diagnose so I’m posting this here so I remember next time I have to do it.
The problem is with the x11-common package needing a temp directory which is missing – so running the following command will give us a /tmp directory:
sudo mkdir /tmp
You should then be able to install x11-common and therefore openjdk without problems.