I think there are other alternatives missing as well; for example javac: $ javac The program 'javac' can be found in the following packages: * openjdk-6-jdk * ecj * gcj-4.4-jdk * gcj-4.6-jdk * gcj-4.5-jdk * openjdk-7-jdk Try: sudo apt-get install <selected package>
$ dpkg -l openjdk-7-jdk | grep openjdk-7-jdk ii openjdk-7-jdk 7~b147-2.0~pre6-1ubuntu1 OpenJDK Development Kit (JDK) $ lsb_release -rd Description: Ubuntu 11.10 Release: 11.10 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/869394 Title: the jar application is not linked to openjdk-7-jdk To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/openjdk-7/+bug/869394/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs