[389-users] java error on 389-console command
Rich Megginson
rmeggins at redhat.com
Fri Sep 9 18:51:13 UTC 2011
On 09/09/2011 12:50 PM, Paul Robert Marino wrote:
> On 9/9/2011 2:42 PM, Rich Megginson wrote:
>> On 09/09/2011 12:38 PM, Paul Robert Marino wrote:
>>> On 9/9/2011 2:31 PM, Rich Megginson wrote:
>>>> On 09/09/2011 12:11 PM, Paul Robert Marino wrote:
>>>>> a couple of days a ago I did a yum update on one of my boxes. one
>>>>> of the
>>>>> thing that updated was the 389-console rpm
>>>>>
>>>>> now every time i try to run it i get an error
>>>>>
>>>>> "
>>>>> The java class could not be loaded.
>>>>> java.lang.UnsupportedClassVersionError:
>>>>> (com/netscape/management/client/console/Console) bad major version at
>>>>> offset=6
>>>>> "
>>>>>
>>>>> this is the version it updated to
>>>>> "
>>>>> rpm -qf /usr/bin/389-console
>>>>> 389-console-1.1.7-1.el6.noarch
>>>>> "
>>>> rpm -qi idm-console-framework
>>> rpm -qi idm-console-framework
>>> Name : idm-console-framework Relocations: (not
>>> relocatable)
>>> Version : 1.1.7 Vendor: Fedora Project
>>> Release : 2.el6 Build Date: Tue 21 Jun
>>> 2011 03:16:23 PM CDT
>>> Install Date: Fri 09 Sep 2011 12:59:50 PM CDT Build Host:
>>> x86-11.phx2.fedoraproject.org
>>> Group : System Environment/Libraries Source RPM:
>>> idm-console-framework-1.1.7-2.el6.src.rpm
>>> Size : 1242916 License: LGPLv2
>>> Signature : RSA/8, Thu 23 Jun 2011 08:14:51 AM CDT, Key ID
>>> 3b49df2a0608b895
>>> Packager : Fedora Project
>>> URL : http://port389.org
>>> Summary : Identity Management Console Framework
>>> Description :
>>> A Java Management Console framework used for remote server management.
>> Which java are you using?
>> java -version
> which java
> /usr/bin/java
> ll /usr/bin/java
> lrwxrwxrwx 1 root root 22 Sep 6 10:24 /usr/bin/java ->
> /etc/alternatives/java
> ll /etc/alternatives/java
> lrwxrwxrwx 1 root root 42 Sep 6 10:24 /etc/alternatives/java ->
> /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java
> rpm -qf /usr/lib/jvm/jre-1.6.0-sun.x86_64/bin/java
> java-1.6.0-sun-1.6.0.26-1jpp.1.el6.x86_64
Can you try the openjdk instead?
yum install java-1.6.0-openjdk
alternatives --config java
>
>
>>>
>>>>> I am currently running
>>>>> Red Hat Enterprise Linux Server release 6.1 (Santiago)
>>>>> x86_64
>>>>>
>>>>> is there a know bug or issue that can be worked around that might
>>>>> cause this
>>>>>
>>>>> --
>>>>> 389 users mailing list
>>>>> 389-users at lists.fedoraproject.org
>>>>> https://admin.fedoraproject.org/mailman/listinfo/389-users
>>>>
>>>
>>
>
More information about the 389-users
mailing list