Bug 312321 - 'Java Toolset Configuration' utility does not detect any installed Java package
Summary: 'Java Toolset Configuration' utility does not detect any installed Java package
Alias: None
Product: Fedora
Classification: Fedora
Component: system-switch-java   
(Show other bugs)
Version: rawhide
Hardware: noarch
OS: Linux
Target Milestone: ---
Assignee: Thomas Fitzsimmons
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2007-09-29 13:38 UTC by Joachim Frieben
Modified: 2007-11-30 22:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-10-02 18:23:55 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Joachim Frieben 2007-09-29 13:38:55 UTC
Description of problem:
The 'Java Toolset Configuration' utility does not detect any Java package even
though several are installed.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Launch 'Java Toolset Configuration'.
Actual results:
A popup windows appears reporting:
 No supported Java packages were found.  A supported Java package is one
   that installs a file of the form:
 For example, java-1.4.2-gcj-compat is a supported package because it

Expected results:
'Java Toolset Configuration' utility allows to select the default Java toolset
for the system.

Additional info:
Several Java packages are installed. In particular, the content of /usr/lib/jvm
java@                        java-gcj@       jre-1.7.0-icedtea@
java-1.5.0@                  jre@            jre-gcj@
java-1.5.0-gcj@              jre-1.5.0@      jre-icedtea@
java-1.5.0-gcj-      jre-1.5.0-gcj@
java-1.7.0-icedtea-  jre-1.7.0@

Comment 1 Thomas Fitzsimmons 2007-10-01 17:02:37 UTC
This error can also mean that system-switch-java cannot open
/var/lib/alternatives/java.  Can you confirm this is not the case?

Comment 2 Joachim Frieben 2007-10-02 13:17:24 UTC
(In reply to comment #1)
For an ordinary user, 'grep /usr/lib/jvm/jre /var/lib/alternatives/java' returns:


I have no idea wether 'system-switch-java' might encounter problems with this
file beyond that, but even launching it from the command line, no error message
is spawned to the shell indicating problems of any kind.
Moreover, 'SELinux' is enabled but in permissive mode, so this should not make a
difference either.

Comment 3 Thomas Fitzsimmons 2007-10-02 18:23:55 UTC
Fixed in system-switch-java-1.1.2-1.fc8.  An unhandled exception was being
thrown if either java-1.7.0-icedtea-plugin or java-1.7.0-icedtea-javadoc was not
installed.  Thanks for reporting.

Note You need to log in before you can comment on or make changes to this bug.