I've got java installed on my Ubuntu VirtualBox, and I am trying to run sunspot, but sunspot can't find java.
typing 'java' from the command line return
The program 'java' can be found in the following packages: * gcj-4.4-jre-headless * gcj-4.6-jre-headless * openjdk-6-jre-headless * gcj-4.5-jre-headless * openjdk-7-jre-headless
and everything I've seen says that java should be in '/usr/lib/jdk', but I don't have '/usr/lib/jdk' in my directory.
How can I:
- Find the install for openjdk-7-jre-headless
- sudo export home, as I've had problems in the past setting the export home, without proper access