Public bug reported: I have installed openjdk6 and openjdk7 on precise in parallel.
The result is that bash commands for starting java programs: java -jar ... are not working anymore and gives out: ~/Software/rapidminer5.1.17$ java -jar rapidminer.jar Das Programm »java« ist in folgenden Paketen enthalten: * default-jre * gcj-4.4-jre-headless * gcj-4.6-jre-headless * openjdk-6-jre-headless * gcj-4.5-jre-headless * openjdk-7-jre-headless Versuchen Sie: sudo apt-get install <ausgewähltes Paket> [ Translation of the german passages: Das Programm »java« ist in folgenden Paketen enthalten: -> The program >>java<< is in the following packages: Versuchen Sie: sudo apt-get install <ausgewähltes Paket> -> Try:sudo apt-get install <selected package> ] A check of the global variables of the bash shows me that there is no JAVA_HOME variable, only the PATH is set, which might be the cause for the confusing of bash on two parallel installed jdk's. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: default-jre 1:1.6-43ubuntu2 ProcVersionSignature: Ubuntu 3.2.0-9.16-generic 3.2.1 Uname: Linux 3.2.0-9-generic x86_64 ApportVersion: 1.90-0ubuntu2 Architecture: amd64 Date: Mon Jan 16 14:40:29 2012 InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012) SourcePackage: java-common UpgradeStatus: Upgraded to precise on 2011-12-31 (15 days ago) ** Affects: java-common (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug precise running-unity -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/917163 Title: bash is not able to start java programs on installed openjdk6 and openjdk7 in parallel To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/java-common/+bug/917163/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs