Description of problem: java-1.7.0-openjdk is not found by system-switch-java Version-Release number of selected component (if applicable): $ rpm -q java-1.7.0-openjdk system-switch-java java-1.7.0-openjdk-1.7.0.25-2.3.10.10.fc19.x86_64 system-switch-java-1.1.5-6.fc19.noarch Steps to Reproduce: 1. Install a minimal Fedora 19 system 2. sudo yum install java-1.7.0-openjdk /usr/bin/system-switch-java 3. sudo system-switch-java Actual results: ┌───────┤ Java Toolset Configuration ├────────┐ │ │ │ No supported Java packages were found. A │ │ supported Java package is one that installs │ │ a file of the form: │ │ │ │ /usr/lib/jvm/jre-$version-$vendor/bin/java │ │ │ │ For example, java-1.4.2-gcj-compat is a │ │ supported package because it installs: │ │ │ │ /usr/lib/jvm/jre-1.4.2-gcj/bin/java │ │ │ │ ┌────┐ │ │ │ OK │ │ │ └────┘ │ │ │ │ │ └─────────────────────────────────────────────┘ Expected results: openjdk-1.7.0 appears in the list Additional info: It seems that some other Java package fixes the problem, but I haven't identified which one. Please use a minimal system to reproduce.
So system-switch-java is looking for /usr/lib/jvm/jre-1.7.0-openjdk but the latest F19 has /usr/lib/jvm/jre-1.7.0_openjdk. That "_openjdk" at the end should be "-openjdk". I will prepare a fix.
*** Bug 990941 has been marked as a duplicate of this bug. ***
Jiri was kind enough to fix _openjdk to -openjdk. Now we are hitting bug 1020005.
*** This bug has been marked as a duplicate of bug 1020005 ***