Hi, I’m trying to install 389-ds on Centos 6.2 and failing with java probs. Sorry for the verbosity below. The Install Guide (http://directory.fedoraproject.org/wiki/Install_Guide) says “If you see something that says gcj or GCJ you're using the wrong version.” However, when I install 389-ds, I see the following package in the list: java-1.5.0-gcj. I already have installed java-1.6.0-openjdk, and can’t figure out what’s wrong. Mike SYMPTOMS: [root@x-analog-01v slapd-x-analog-01v]# 389-console & [1] 5293 [root@x-analog-01v slapd-x-analog-01v]# Exception in thread "main" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:82) at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:112) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:186) at java.awt.Toolkit$2.run(Toolkit.java:849) at java.security.AccessController.doPrivileged(Native Method) at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:841) at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:126) at javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564) at com.netscape.management.nmclf.SuiLookAndFeel.initComponentDefaults(Unknown Source) at com.netscape.management.nmclf.SuiLookAndFeel.getDefaults(Unknown Source) at javax.swing.UIManager.setLookAndFeel(UIManager.java:530) at com.netscape.management.client.console.Console.common_init(Unknown Source) at com.netscape.management.client.console.Console.<init>(Unknown Source) at com.netscape.management.client.console.Console.main(Unknown Source) INSTALLED: [root@x-analog-01v slapd-x-analog-01v]# rpm -qa | grep java java-1.6.0-openjdk-1.6.0.0-1.43.1.10.6.el6_2.i686 tzdata-java-2011l-4.el6.noarch 389-ds INSTALLATION [root@x-analog-01v slapd-x-analog-01v]# yum install 389-ds … Dependencies Resolved ================================================================================================================================================================================================= Package Arch Version Repository Size ================================================================================================================================================================================================= Installing: 389-ds noarch 1.2.2-1.el6 epel 9.9 k Installing for dependencies: 389-admin i686 1.1.25-1.el6 epel 341 k 389-admin-console noarch 1.1.8-1.el6 epel 202 k 389-admin-console-doc noarch 1.1.8-1.el6 epel 43 k 389-console noarch 1.1.7-1.el6 epel 72 k 389-ds-console noarch 1.2.6-1.el6 epel 1.4 M 389-ds-console-doc noarch 1.2.6-1.el6 epel 55 k 389-dsgw i686 1.1.7-2.el6 epel 460 k idm-console-framework noarch 1.1.7-2.el6 epel 1.1 M java-1.5.0-gcj i686 1.5.0.0-29.1.el6 base 138 k java_cup i686 1:0.10k-5.el6 base 178 k ldapjdk i686 4.18-6.el6 base 749 k sinjdoc i686 0.5-9.1.el6 base 646 k Transaction Summary ================================================================================================================================================================================================= Install 13 Package(s) |
-- 389 users mailing list 389-users@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/389-users